[datetime] convert a int32_t to a time

10 Jul
2011
10 Jul
'11
6:38 a.m.
Hi: 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. Does boost.datetime allow me to do this? Any help appreciated. Cheers Sean.

10 Jul
10 Jul
6:52 a.m.
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(): http://www.boost.org/doc/libs/1_46_1/doc/html/date_time/posix_time.html#ptim...
4977
Age (days ago)
4977
Last active (days ago)
1 comments
2 participants
participants (2)
-
Igor R
-
Sean Farrow