date & time input/output using C++ streams