Boost logo

Boost Users :

Subject: Re: [Boost-users] [datetime] convert a int32_t to a time
From: Igor R (boost.lists_at_[hidden])
Date: 2011-07-10 02:52:10

> I’m working with a piece of code that gives me time as an int32_t I’d like
> to convert this in to a more intelligible form to store along with the current date.

int32_t is not a time format.
If you mean you've got time_t, you can use from_time_t():

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