
24 Oct
2010
24 Oct
'10
1:55 p.m.
Thanks a lot. Now I understood it. Is it possible to get day of week (Sunday, monday,...saturday) from ptime? Thanks again, Lloyd
time_t is number of seconds since 1/11970 If your input is the number of seconds since 1/1/1900, then before using from_time_t() you have to add the number of seconds between 1/1/1900 and 1/1/1970. IIRC, it's (70 * 365 + 17) * 86400 _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
______________________________________ Scanned and protected by Email scanner