>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.