>>Is there a method for setting the system date and/or time from a VFP application?
>>
>>Any help greatly appreciated
>>
>>Joao Pinheiro
>>pinetree@mail.telepac.pt
>
>Joao,
>
>If you wish to change the values being returned from the computer with date() and time(), you can do it with a batch file which calls the DOS date and time commands. These will re-set the computer's values until you re-boot. AFAIK if you want to change the values permanently you will have to use the computer's own setup command when booting.
If you change the computer's date/time (using the DATE/TIME DOS commands, SetLocalTime() Win32 API function or in any other way), this is "forever".
I never saw a computer that knows how to revert to a default time/date when is rebooted.
Vlad
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only