Superbank
06-11-2009, 06:14 AM
It's a pity that System.GetTime is not returning time zone information in addition to current system time...
How to obtain user's time zone information?
Probably we can use Kernel32.dll and GetTimeZoneInformation function?
Something like:
DLLResult = DLL.CallFunction("Kernel32.dll", "GetTimeZoneInformation", "TZI", DLL_RETURN_TYPE_LONG, DLL_CALL_STDCALL);
Please correct me if I am wrong...
How to obtain user's time zone information?
Probably we can use Kernel32.dll and GetTimeZoneInformation function?
Something like:
DLLResult = DLL.CallFunction("Kernel32.dll", "GetTimeZoneInformation", "TZI", DLL_RETURN_TYPE_LONG, DLL_CALL_STDCALL);
Please correct me if I am wrong...