[Lazarus] UnixToDateTime and time zone
Dibo
dibo20 at wp.pl
Thu Sep 16 22:11:14 CEST 2010
Dnia 2010-09-16, czw o godzinie 22:50 +0300, Alberto Narduzzi pisze:
> > How can I do this? I'm confused. Example: If someone send mi unix time
> > "1984-10-10 12:12:12" how can I know which time was in my time zone?
>
>
> if someone sends you a unixtime, the time in your zone was the time he
> sent you + your UTC offset.
> And the time in his zone was the time he sent you + his UTC offset.
>
> Of course, you also need to add the DST, just in case.
>
> Cheers, A.
Is there a function in FPC that returns me my local UTC offset?
> Lazarus mailing list
> Lazarus at lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
>
More information about the Lazarus
mailing list