I have DateTimes in model:
[DataType(DataType.DateTime)]
[DisplayFormat(ApplyFormatInEditMode = true, DataFormatString = @"{0:dd/MM/yyyy HH:mm}")]
public DateTime Start { get; set; }
[DataType(DataType.DateTime)]
[DisplayFormat(ApplyFormatInEditMode = true, DataFormatString = @"{0:dd/MM/yyyy HH:mm}")]
public DateTime End { get; set; }
If I write 25.05.2016 10:00
it says that the field Start/End is not a date, but if I write 12.05.2016 10:00
it is correct. First number is matched to Day (12), second to Month (05), last to Year (2016),10 to Hour and 00 to Minutes,so why it can't let me write Day more than 12?