Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Designated times
Message
 
To
27/01/2000 16:36:15
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00323807
Message ID:
00323815
Views:
17
>I've got a form that needs to perform at two specific times of day and not on weekends.(Once in the morning and once in the afternoon.) I have a simulated loop that runs 24 hours a day. So all I need to do is tell him 'Hey! It's 2PM! Do this now!'
>
>Thank You...
>Tom Welch

Hi Tom,

SECONDS() function gives you the time in seconds since midnight, so 2 PM corresponds 50400 sec.

IF SECONDS() = 50400
*run my app
ENDIF

Nick
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform