[DF-3085] fix windows version of AsWString() in datetime