[DisplayFormat(ApplyFormatInEditMode = true, DataFormatString = "{0:yyyy-MM-dd}")] public DateTime ContractDate { get; set; }
@Html.TextBoxFor(model => model.ContractDate, "{0:yyyy-MM-dd}", new { @class = "Wdate", onclick = "WdatePicker()" })