Hello FPC-Pascal,

Monday, July 25, 2011, 6:23:21 PM, you wrote:

JH> And even if dates are correctly stored in UTC it is not easy to reliably
JH> get back the "local time". Daylight savings were changed in the past
JH> (and may also change in the future). If you have a date/time of  
JH> 2001-05-01 18:00 UTC it is not easy to predict what local time it was in
JH> time zone x. You would need a history of all daylight saving algorithms
JH> of the past and the future for all time zones (or even countries).

This already exists, but future settings are impossible to predict, so
a local time in the future is a no-no and should be avoided as much as
possible.

-- 
Best regards,
 José

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to