id summary reporter owner description type status milestone component version severity resolution keywords cc 167 Gregorian dates bugs ysv_ az_sw_dude "{{{ 1. I read docs about boost::gregorian::date. It has the accessor 'greg_ymd year_month_day() const', but I can't find 'greg_ymd' type anywhere. 2. So I use date::ymd_type instead. All looks like except the following: Tools.h ========================================== #ifndef TOOLS_H #define TOOLS_H #include typedef boost::gregorian::date Date; typedef boost::gregorian::date_period Period; std::string DateToString(Date d); #endif ========================================== Tools.cpp ========================================== #include #include #include ""Tools.h"" using namespace std; using namespace boost::gregorian; string DateToString(Date d) { ostringstream os; int m=d.month(); os< #include #include ""Tools.h"" using namespace std; using namespace boost::gregorian; string DateToString(Date d) { ostringstream os; os<