Why didn't you say so in the first place?
You can use "GetTimeZoneInformation()" from the Windows-unit to get that.
========================================================
procedure TForm1.Button1Click(Sender: TObject);
Var
ZoneInfo : TTimeZoneInformation;
begin
GetTimeZoneInformation(ZoneInfo);
ShowMessage(Format('Bias with UTC = %d minutes', [ZoneInfo.Bias]));
end;
========================================================
Greetz,
Peter.
________________________________________
From: [email protected] [mailto:[email protected]] On Behalf
Of emmanuellamy
Sent: vrijdag 6 augustus 2010 14:18
To: [email protected]
Subject: [delphi-en] Re: Converting local to UTC time
Thank you, Ray. But my problem is in extracting the local machine timezone
rather than computing the UTC time or local time.
Emmanuel