Thank you, Ray. But my problem is in extracting the local machine timezone 
rather than computing the UTC time or local time.

Emmanuel


--- In delphi-en@yahoogroups.com, "Glenn B. Lawler" <gblaw...@...> wrote:
>
> > Subtracting 8 from Pacific time would result in the same time, but 8
> *days* before!
> 
> Quite right. What I had in mind, but failed to include explicitly, was
> something like this:
> 
> UTC_Time:=MyTime - (EncodeTime(1,0,0,0) * MyOffset);
> 
> LocalTime:=UTC_Time +  (EncodeTime(1,0,0,0) * MyOffset);
> 
> Glenn Lawler
> www.incodesystems.com
>


Reply via email to