Streams a datetime.
std::ostream& operator<<( std::ostream& os, const datetime& v);
This function works for invalid datetimes, too.