Sorry, I did not understand. My doubt is
if the 32bit input value is 70 (70 seconds since 1900), the output would be
1900-01-01, 00:01:10., and the day of week is Monday
By using the function "from_time_t " can we get this output?
Thanks,
Lloyd
----- Original Message -----
From: "Mika Heiskanen"
On Sun, 2010-10-24 at 08:32 +0300, Lloyd wrote:
I am writing a simple NTP client. NTP retuns the time as a 32bit value, as the seconds since 1900. using boost date time library is it possible to convert it to a date and time (year,month,day of week,day,hour,minute,second) ?
from_time_t minus the seconds between 1900-1970.
--> Mika
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
______________________________________ Scanned and protected by Email scanner