I have in my Model this field
[DataType(DataType.DateTime)] [Required(ErrorMessage = \"Expire is required\")] public DateTime Expire { get;
Just put ? in your System.DateTime
example :
@model System.DateTime? @Html.TextBox("", ViewData.TemplateInfo.FormattedModelValue, new { data_datepicker = true })
if you ommit the question mark you will ge an error