Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
A way to change system date/time programatically from VF
Message
From
11/09/1998 13:05:00
 
 
To
11/09/1998 12:58:19
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00135525
Message ID:
00135529
Views:
13
>Title says all.
>Carlos.

cmddate = '!DATE '+DTOC(DATE()+1) && Change date to tomorrow
cmdtime = '!TIME 12:00:00' && Change time to noon

&cmddate
&cmdtime

This will change date & time (via DOS). There are more than likely WIN API calls to do this, also.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Reply
Map
View

Click here to load this message in the networking platform