>>>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.
>
Hi Vlad,
Hmm, perhaps we have the basis for a few future FAQs. GetSystemTime(), IMHO, can be very valuable for time stamping record changes in certain circumstances.
George
Ubi caritas et amor, deus ibi est