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