c# - String was not recognized as a valid DateTime ParseExact -
I am trying to parse a date in C # and the code of the following code is
due date Purse AXact (Date Selected, "DMD MMM DD HH: MM: SS Judge Yay", Culture)
When I had selected debug date "Tuesday 16 February 12:36:41 CST 2010 "But I'm getting a conclusion" string was not considered a valid date time. "
The following, field summaries are not recognized. Try it out:
DateTime Parsed = DateTime. Replace ("CST", "+02: 00"), "DDMMM DD HH: Mm: SS Z Yay", New Culture Info ("N-GB"), "Prosexact" ("Tuesday February 16 12:36:41 CST 2010" ));
This link can also be useful:
Comments
Post a Comment