How to format DateTime Values in cshtml view
Model.CreatedDate
Should Read as Friday, June 10, 2018 at 11:00 AM
And
Model.CreatedDate
Should Read as Friday, June 10, 2018
Currently Making del.CreatedDate
Read as: 06/10/2018 11:00:00:00 AM
Please give Razor examples on how to change my Date formats.
Thank you for all your help....
Model.CreatedDate
Should Read as Friday, June 10, 2018 at 11:00 AM
And
Model.CreatedDate
Should Read as Friday, June 10, 2018
Currently Making del.CreatedDate
Read as: 06/10/2018 11:00:00:00 AM
Please give Razor examples on how to change my Date formats.
Thank you for all your help....