I have a DateTime field that should appear in the edit window
@Html.EditorFor( model => model.StartDate )
how can i use something like this;
@Html.EditorFor( model => model.StartDate.ToShortDateString() )
or any custom function to change the DateTime to view.
razor
Raika Jul 09 2018-11-22T00: 00Z
source share