...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 date.
std::ostream& operator<<( std::ostream& os, const date& v);
This function works for invalid dates, too.