I'm iterating a list in my Razor view and I have a date attribute to show in a specific format.
I have used
Something like this:
<div> FormatDate( model.MyDatetimeAttr ) </div>.
©2020 All rights reserved.