Converts string to DateTimeOffset: String with day abbreviation(Thu May 01, 2008)
using System; using System.Globalization; public class Test { public static void Main() { string dateString; DateTimeOffset offsetDate; dateString = "Thu May 01, 2008"; offsetDate = DateTimeOffset.Parse(dateString); Console.WriteLine(offsetDate.ToString()); } }