I\'ve been googling for a while now and for the life of me can\'t seem to find a solution. I thought this would be easy but it\'s taking too long and am turning to stackover
Try this.
DateTime dt; if (DateTime.TryParse(startTime, out dt)) { string newDateTime = dt.ToString("MM/dd/yyyy hh:mmtt"); }