Announcement

Collapse
No announcement yet.

How to convert datetime to string in view in mvc

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    How to convert datetime to string in view in mvc

    How to convert datetime to string in view in mvc

    #2

    view model: [DisplayFormat(DataFormatString = "{0:dd MMM yyyy}")] public DateTime Date { get; set } view: @Html.DisplayFor(x => x.Date)
    .js everywhere | https://panbu.de/umfrage-app

    Comment

    Working...
    X