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.


--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to