The TIME_ZONE_INFORMATION structure is really a "specification" for when
Standard/Daylight periods begin, and the return value from
GetTimeZoneInformation tells you which mode your computer is currently in. I
guess you're trying to find out which mode some arbitrary location is in, so
your computer's info is not much help.
If you're running on NT, you could use SystemTimeToTzSpecificLocalTime to
convert any UTC value to local time for a specified TIME_ZONE_INFORMATION.
You can get the TIME_ZONE_INFORMATION structure from the registry at
HKLM\Software\Microsoft\Windows NT\CurrentVersion\Time Zones. If you are
using Win9X I guess you will have to write your own function.
HTH
Tom Munro Glass
> Thanks Tom,
>
> The absolute format is mentioned before the day-in-month
> format so I had
> assumed that it would return the info in absolute format.
>
> I can't work out from the docs how to get the data returned
> in absolute
> format - I ensured the wYear was not 0 but no change. Any ideas?
>
> Thanks,
>
> Phil.
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED]
with body of "unsubscribe delphi"