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

zeljko zeljko at holobit.net
Tue Nov 1 11:07:10 CET 2011


On Tuesday 01 of November 2011 11:01:32 Sven Barth wrote:
> On 01.11.2011 09:41, zeljko wrote:
> > I don't believe that kernel have only gettimeofday() and that kernel
> > don't know accurate datetime. There's more functions in kernel which can
> > give you accurate result. gettimeofday() is deprecated, so maybe that's
> > main reason why it fails to give correct result with daylight changes.
> 
> Out of curiosity: Where did you get that gettimeofday is deprecated?

somewhere in /usr/include ... or time.h or sys/time.h

> 
> Regards,
> Sven
> 
> _______________________________________________
> fpc-devel maillist  -  fpc-devel at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20111101/8776a738/attachment.html>


More information about the fpc-devel mailing list