[Lazarus] UnixToDateTime and time zone
Alberto Narduzzi
albertonarduzzi at yahoo.com
Thu Sep 16 21:50:48 CEST 2010
> 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.
More information about the Lazarus
mailing list