"add_month" are not in date-time of boost 1.33. I have compiled date_time as the lib. The example are not in boost\libs\date_time\example, I use grep and can not find it.
The example of "boost/doc/html/date_time/examples.html#date_time.examples.month_add" can not be compiled. I use the vc71+stlport 4.62, the command line is cl /MD /EHsc /DBOOST_LIB_DIAGNOSTIC. I also can not find this example code under the directory "boost\libs\date_time\example\gregorian\".
This example program is in cvs (http://tinyurl.com/9gnxq). Did you build the library first? This example uses one of the to_string functions. These functions depend on the compiled binary libray. I could provide more help if you post your error messages. Bart <P><HR></P>_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users