I think your CMS is configured for dd/mm/yy format rather than mm/dd/yyy. try 14/8/2013 5:00 am for instance
Valid format for DateTime? C#
-
23-06-2022 - |
Question
I've tried the following input:
8/14/2013 5:00 am, 8/21/2013 12:00 pm, 8/31/2013 5:00 am and 8/31/2013 5:00:00 am
I keep getting errors that they are invalid for DateTime. I'm using Orchard CMS and don't wanna do extra parsing/validation.
Solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow