using System.Globalization;
public static void Main()
string ds = "Posted on Thursday, May 1st, 2014 at 10:07 AM";
string[] formats = new string[] {
"MMMM d'st, 'yyyy' at 'hh:mm tt",
"MMMM d'nd, 'yyyy' at 'hh:mm tt",
"MMMM d'rd, 'yyyy' at 'hh:mm tt",
ds = ds.Substring(ds.IndexOf(", ") + 2);
DateTime date = DateTime.ParseExact(ds, formats, null, DateTimeStyles.AssumeUniversal | DateTimeStyles.AdjustToUniversal);
Console.WriteLine(date.ToString("o"));