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

2011-10-31 Thread zeljko
On Monday 31 of October 2011 20:17:46 you wrote: On Mon, 31 Oct 2011, zeljko wrote: Hi, I have daemon which uses Now() for getting current date/time, but something is wrong, time on server changed from 03:00 to 02:00 this weekend, but daemon's Now() was on old time ... until now ...

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

2011-10-31 Thread Sven Barth
On 31.10.2011 20:32, zeljko wrote: On Monday 31 of October 2011 20:17:46 you wrote: On Mon, 31 Oct 2011, zeljko wrote: Hi, I have daemon which uses Now() for getting current date/time, but something is wrong, time on server changed from 03:00 to 02:00 this weekend, but

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

2011-10-31 Thread zeljko
On Monday 31 of October 2011 20:47:07 Sven Barth wrote: fpgettimeofday uses exactly what it says on the tin: gettimeofday. See here: http://linux.die.net/man/2/gettimeofday Yes, I've readed man page of gettimeofday already. The fp* functions in Linux by default call directly the kernel

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

2011-10-31 Thread Hans-Peter Diettrich
zeljko schrieb: Also this confirms something what happens sometimes when ntpd changes time ... Any hints ? What to do ? Any workaround ? Why don't you use UTC, it should be insensitive to DST and other changes. DoDi ___ fpc-devel maillist -

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

2011-10-31 Thread Tomas Hajny
On 31 Oct 11, at 20:17, Michael Van Canneyt wrote: On Mon, 31 Oct 2011, zeljko wrote: Hi, I have daemon which uses Now() for getting current date/time, but something is wrong, time on server changed from 03:00 to 02:00 this weekend, but daemon's Now() was on old time ... until

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

2011-10-31 Thread waldo kitty
On 10/31/2011 15:47, Sven Barth wrote: Maybe a possibilty should be implemented in unit Unix to reread the timezone file. This wouldn't solve your problem directly, but it would at least provide the ability to update the time zone information without restarting the application/service. The

<    1   2