|
-
Jun 11th, 2007, 03:02 PM
#4
Re: Is Current Time Between 9pm and 3am?
On a 24 hour clock basis (no date), there is no time that's both greater than 9PM and less than 3AM. You have to check whether the time is between 9PM and 11:59:59PM or between 00:00:00AM and 3AM. If either one is true, the time is between 9PM and 3AM.
The most difficult part of developing a program is understanding the problem.
The second most difficult part is deciding how you're going to solve the problem.
Actually writing the program (translating your solution into some computer language) is the easiest part.
Please indent your code and use [HIGHLIGHT="VB"] [/HIGHLIGHT] tags around it to make it easier to read.
Please Help Us To Save Ana
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|