But actually I think the answer is to use BOTH AssumeUniversal AND AdjustToUniversal
DateTime.TryParseExact(group.Value, this.customParseText, CultureInfo.InvariantCulture, System.Globalization.DateTimeStyles.AdjustToUniversal | System.Globalization.DateTimeStyles.AdjustToUniversal, out dateTime);
No comments:
Post a Comment