Is there a cross-platform way to get the current date and time in C++?
(For fellow googlers)
There is also Boost::date_time :
#include boost::posix_time::ptime date_time = boost::posix_time::microsec_clock::universal_time();