I\'m using MVC4 and Entity Framework to develop an intranet web app. I have a list of persons which I can edit. When I access the edit view, in the textbox \"Start date\", t
try this.. convert the date value as a htmlAttribute within textboxfor.. that can solve your problem
@Html.TextBoxFor(model => model.StartDate, new { htmlAttributes = new { @Value = Model.StartDate.ToString("yyyy/MM/dd"), type = "date" }}) @Html.ValidationMessageFor(model => model.StartDate)