Re: JAVA Time Problem: Want to get the current time and perform validation
- From: "Daniel Pitts" <googlegroupie@xxxxxxxxxxxxx>
- Date: 28 Nov 2006 14:42:43 -0800
The One wrote:
Here is the sample code:[snip]
if (iHour > 8 & iHour < 20)[snip]
This code doesn't seem to work correctly.
Usually, its a good idea to say what you expect the code to do, and
what you see it actually doing.
Although, I think I see your problem:
Perhaps you should try "iHour >= 8 && iHour <= 20".
.
- Follow-Ups:
- References:
- Prev by Date: Re: Newbie String Questions
- Next by Date: Re: How to update a jar file for one source file change?
- Previous by thread: JAVA Time Problem: Want to get the current time and perform validation
- Next by thread: Re: JAVA Time Problem: Want to get the current time and perform validation
- Index(es):