id summary reporter owner description type status milestone component version severity resolution keywords cc 5614 date bug in release (boost 1.46) ludviglarsson@… az_sw_dude "The bug is present only in Release (WinXP + Boost 1.46) not in Debug. The bug is produced as follows: {{{ #include ""boost/date_time/gregorian/gregorian.hpp"" using namespace boost::gregorian; void func() { date todaysdate(day_clock::local_day()); printf(""%i-%02i-%02i\n"",todaysdate.year(), todaysdate.month(), todaysdate.day()); } }}} This prints gibberish values or more precisely, the lowest 16 bits are correct but the highest 16 bits contain random data. The date itself seems to work perfectly well, I can compare dates, increment and so on, it is only the year(), month() etc. functions that seems broken. HTH & keep up the good work!! Valmond" Bugs closed To Be Determined date_time Boost 1.46.1 Problem invalid