Boost logo

Boost Users :

Subject: [Boost-users] [date_time] Creating a ptime from a double
From: Ryan McConnehey (mccorywork_at_[hidden])
Date: 2009-11-02 22:46:09


A lot of the constructors of ptime deals with getting the current system
time or time structures. I have a double with the seconds and
fractional microseconds from midnight January 1, 1970. What is the best
way to create a ptime object from this double?

Ryan


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net