Boost logo

Boost Users :

From: Stephen torri (storri_at_[hidden])
Date: 2005-01-07 22:44:13

I need an example of taking a time duration in seconds and converting it
to a date using Boost::Date_Time. For example,

805168227 seconds (time from December 31st, 1969, at 4:00 P.M.)

= approx. 25 years, 194 days, 1 hr, 50 minutes, 27 seconds

= File created on 1994 June 15 5:50:27

(Conversion did not account for leap years).


Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at