I solved this by explicitly stating the datetime format. So that it has to be MM/dd/yyy hh:mm tt
That worked. Not very user friendly and in fact your example doesn't even work as the min start time does not have a space before the AM. / Thank goodness as this led me to finding a resolution.
@Html.EJ().DateTimePicker("DateTime").MinDateTime("05/23/2014 09:00AM").MaxDateTime("05/29/2014 09:00 PM").Interval(30)
Should be:
@Html.EJ().DateTimePicker("DateTime").MinDateTime("05/23/2014 09:00 AM").MaxDateTime("05/29/2014 09:00 PM").Interval(30)
My full statement in case anyone else runs into this problem is:
@Html.EJ().DateTimePickerFor(model => model.outage_start).Width("300").MinDateTime(Model.outage_start.Value.ToString("MM/dd/yyyy hh:mm tt")).MaxDateTime(Model.outage_end.Value.ToString("MM/dd/yyyy hh:mm tt")).Value(Model.outage_start.Value.ToString("MM/dd/yyyy hh:mm tt")).Interval(1)