Fixed more in date class

Something with to_string not working on some compilers