Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
A way to change system date/time programatically from VF
Message
 
To
12/09/1998 11:09:00
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00135525
Message ID:
00135822
Views:
10
Hi Paul and George,

Is there a way to get the System time of an NT Server from any workstation?

Currently I am using a DOS command and I hate it. <g>

TIA
Kamal

>>>Better use SetLocalTime(). SetSystemTime() uses UNC/GMT time.
>>>
>>Hi Vlad,
>>
>>Yup, my bad.:-) Everything else, however still applies, and the declaration simply needs to have the name changed to SetLocalTime().
>
>Right. It may be worth to notice here that using GetSystemTime() and GetLocalTime(), one can find the difference between local and UNC/GMT time.
>
>Vlad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform