Fix date/time formatting for Win32

Win32 date/time formatting code was not yet updated to use the StringRef date/time functions.