Posted by andre on October 07, 2009
Since the Now(); function returns the LOCAL time, and I need UTC, I am trying to obtain the current timezone using this code: GetTimeZoneInformation(tz);
ShowMessage(IntToStr(tz.StandardBias)); // 0
ShowMessage(IntToStr(tz.DaylightBias)); // -60
my timezone is set to GMT+1 (Amsterdam, Berlin, Bern, Rome.....)
so, there values don't seem to be correct.
Related articles