[boost.datetime] query

10 Oct
2010
10 Oct
'10
1:49 p.m.
Hi: Is it possible to return a number representing the date. Like you can with COleDateTime.m_dt; Any help appreciated. Regards Sean.

10 Oct
10 Oct
1:56 p.m.
On 2010-10-10 15:49, Sean Farrow wrote:
Is it possible to return a number representing the date. Like you can with COleDateTime.m_dt;
Take a look at Boost.Date_Time documentation: http://www.boost.org/doc/libs/release/doc/html/date_time.html

2:06 p.m.
Is it possible to return a number representing the date. Like you can with COleDateTime.m_dt;
COleDateTime::m_dt returns the time as DATE type (actually, 8-byte float), which is one of MS-specific date-time representations. If you need to convert ptime to COleDateTime, you can convert it first to time_t, then to COleDateTime.
5250
Age (days ago)
5250
Last active (days ago)
2 comments
3 participants
participants (3)
-
for-gmane
-
Igor R
-
Sean Farrow