Fixed Visual Studio 2012 warnings
Fixed daylight savings time formatting problem on Windows