Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Auto Shut down
Message
 
To
31/01/2003 10:12:02
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00747667
Message ID:
00747839
Views:
13
>I need to make sure all the instances of my app are shut down just before midnight for backup purposes. How can't seem to get Time() > "11:30:00" To work.

two options:
IF HOUR(DATETIME()) > 23 AND MINUTE(DATETIME()) > 30
...
ENDIF

IF SECONDS() > 21,5 * 60 * 60
....
ENDIF

You'll have to set this up in a timer control.

Be warned that timers don't word when dialog boxes are active.
Previous
Reply
Map
View

Click here to load this message in the networking platform