Use boost::posix_time::ptime internally for times and dates.