Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
GetLocalTime() is not local
Message
 
To
17/06/1997 15:03:48
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00036268
Message ID:
00036704
Views:
44
>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform