|
-
January 31st, 2010, 04:33 PM
#1
DateTime.ParseExact - "day of week was incorrect" exception!!
Greetings,
Perhaps this is a bug with DateTime.ParseExact()?
Input:
SUNDAYSEPTEMBER271:00PMET
Code:
prediction.TimeOfGame = DateTime.ParseExact((_date + timeOfGameNoCommasOrSpaces).ToUpper(),
"ddddMMMMdh:mmttET",
null);
Returns:
System.FormatException: String was not recognized as a valid DateTime because the day of week was incorrect.
I'd like to report this, perhaps someone knows the reason for the exception?
Thanks,
Tom
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|