Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

how to display only date from datetime in mvc view

[DisplayFormat(ApplyFormatInEditMode = true,DataFormatString = "{0:MM/dd/yyyy}")]; //display only date from datetime in mvc...
 
PREVIOUS NEXT
Tagged: #display #date #datetime #mvc #view
ADD COMMENT
Topic
Name
5+4 =