C++ Date and time using header