Dnia 2010-09-16, czw o godzinie 19:49 +0200, Jürgen Hestermann pisze: > Krzysztof schrieb: > > I have a problem. Example this unix timestamp: 1280166617. > > DateTimeToString(UnixToDateTime(1280166617)) should give me 2010-07-26 > > 19:50:17 (in country: Poland) but it give me 2010-07-26 17:50:17. I must > > add two hours: > > As far as I know UnixTime is a global time. > It's UTC time format. > See http://en.wikipedia.org/wiki/Unix_time > > So if you want a local time you need to adjust > according to the local time zone. 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?
> ______________________________________________ > Lazarus mailing list > [email protected] > http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus > -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
