[fpc-devel] Problem with Now() and time changed by ntpd

Hans-Peter Diettrich DrDiettrich1 at aol.com
Tue Nov 1 15:02:28 CET 2011


Michael Van Canneyt schrieb:

> We'll simply need to store the next moment when the DST correction 
> changes, compare the result of gettimeofday with that and re-base the 
> time calculation. If we decide to add some check for the timestamp of 
> the timezone file - that would make Date(), Time() and Now() VERY 
> expensive operations.

Doesn't the system signal such changes? IMO Windows does...

DoDi




More information about the fpc-devel mailing list