Re: time-server question



On windows computers there is no such thing as exact time and date. If you
ask a time server; by the time you ask the data is already out of date from
the trip time of the packets.

For second-resolution you should use time(NULL) or _time64(NULL) - both are
pretty much the same nowerdays based on PSDK 2005 defines.

use _tzset to get the second offset if you need to convert from UTC time( )
to local.

--
- Mark Randall
http://www.temporal-solutions.co.uk
http://www.awportals.com

"azsx" <radu_plugaru@xxxxxxxxx> wrote in message
news:1164719411.522211.268250@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi, i'm developing an application that at some level needs to find out
the exact time and date. For this I can't use the standard local time
getTime() f-tion. Do you know what should I do to get some data from
time-servers?



.


Loading