A have a problem which is I am sending Datetime to view. In HTTPGET i havent any problem i mean it shows date as formatted. But when i try to post it to controller it does not post. The date changing. For example if my date 25-03-2015 (25th March 2015) on posting its changing, and trying to take "25" as mounth. When i enter 11/10/2017 everything is ok. When i enter first digit (which is 11 in this example) higher than 12 it does not post. You can see my model and view parts. Thank you.
Model:
[DisplayFormat(DataFormatString = "{0:dd-MM-yyyy HH:mm}", ApplyFormatInEditMode = true)]
public DateTime AppointmentDate { get; set; }
View:
<div class="input-capsule appointment-date">
@Html.LabelFor(m => m.AppointmentDate, "Randevu Tarihi:")
@Html.TextBoxFor(m => m.AppointmentDate, "{0:dd-MM-yyyy HH:mm}", new {@class = "form-control required" })
</div>