Boost logo

Boost :

From: SourceForge.net (noreply_at_[hidden])
Date: 2007-02-15 11:02:45


Bugs item #1660728, was opened at 2007-02-15 16:02
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=107586&aid=1660728&group_id=7586

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: gamial (gamial)
Assigned to: Nobody/Anonymous (nobody)
Summary: Boost::posixtime (1.33.1) from_time_t

Initial Comment:
Code:

time_t value2 = 0x80000001;//FFFFFFF;
CTime ct_time((UINT)value2);//ATL.
ptime m_time=from_time_t((UINT)value2);

cout<<"Boost time: "<<m_time<<endl;
cout<<"Real time: "<<ct_time.Format("%Y %m %d %H:%M:%S")<<endl;

COUT:
Boost time: 1901-Dec-13 20:45:53
Real time: 2038 01 19 06:14:09

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=107586&aid=1660728&group_id=7586

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Boost-bugs mailing list
Boost-bugs_at_[hidden]
https://lists.sourceforge.net/lists/listinfo/boost-bugs


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk