Have I already told that Boost is incredibly useful thing? For example, to easily convert number into the string, you can use lexical_cast like: read more »
Boost
How to create a closed time period with boost::posix_time
Boost date_time library provides very good interface to work with a temporal data. But because of the requirements for iterators compability, the periods are represented as a half-opened values. When passing the begin and end to the constructor, the second parameter will not belong to the created interval. read more »