|
-
Sep 9th, 2008, 08:34 PM
#1
Thread Starter
Hyperactive Member
[RESOLVED] Between Two Times...
Hi guys..
I'm looking to have my program have a night, and day mode.. It pulls in the almanac every time it loads, and I'd like to have it so that when the "Sunrise"'s the program will be in day mode, and when the "Sunset"'s it will go in to night mode..
Is there a way I can say something like:
If time now is between sunrise.Text and Sunset.Text then mode = day
Else
mode = night
How do I actually write this?
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
|