...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Streams a datetime.
std::ostream& operator<<( std::ostream& os, const datetime& v);
This function works for invalid datetimes, too.