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.

Was it helpful?

Solution

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top