SyntaxFix
Write A Post
Hire A Developer
Questions
This works if you want to display in a TextBox:
@Html.TextBoxFor(m => m.Employee.DOB, "{0:dd-MM-yyyy}")