>>I've played around with GetLocalTime() and, as you have, I've gotten the same result as GetSystemTime(). In both instances, however, the information was correct. The only thing that I can think of might be in the declaration of the API call. I used:
>>
>>DECLARE INTEGER GetLocalTime IN Win32API;
>> STRING @cTimeStruct
>>cTimeStruct = SPACE(16)
>>= GetLocalTime(@cTimeStruct)
>
>I guess there must another factor which can explain why we are having the same result with those 2 functions when it shouldn't.
Michel,
This is out of WIN32.HLP from the Developers CD Set, referring to GetSystemTime:
Remarks
Windows 95: Early beta implementations of this function return local time rather than UTC.
According to the topic UTC is Coordinated Universal Time. I guess that's the answer.
George
George
Ubi caritas et amor, deus ibi est