Changed time formatting to work with on windows