Re: JAVA Time Problem: Want to get the current time and perform validation
- From: "The One" <ankitdave@xxxxxxxxx>
- Date: 28 Nov 2006 15:30:53 -0800
Thanks Daniel.
I should have more careful on it.
ankit
Daniel Pitts wrote:
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".
.
- References:
- Prev by Date: Re: JAVA Time Problem: Want to get the current time and perform validation
- Next by Date: Re: How to update a jar file for one source file change?
- Previous by thread: Re: 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):