I'm simply trying to parse from this date string:
Thu Oct 10 19:21:45 2002
I'm just testing it with a simple string, and its not working
Dim dtfi As New Globalization.DateTimeFormatInfo
dtfi.LongDatePattern="ddd"
doing DateTime.Parse("mon", dtfi) will give me an error. It will work if I choose the current day of the week instead of "mon" though. Other than that, I get this error:
Run-time exception thrown : System.FormatException - String was not recognized as a valid DateTime because the day of week was incorrect.
someone help me out plzI want to parse from the date string above, but seems like I cant
![]()




I want to parse from the date string above, but seems like I cant
Reply With Quote