time.cpp

get the date and time as a string