Saturday, June 16, 2012

C# - String was not recognized as a valid DateTime, solved

 DateTime date_ad = DateTime.ParseExact(date_ad_string, "MM/dd/yyyy HH:mm", null);

No comments:

Post a Comment