$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
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():
http://www.boost.org/doc/libs/1_46_1/doc/html/date_time/posix_time.html#ptime_from_funcs