How to format DateTimes in ASP.NET Core?

This post was most recently updated on July 7th, 2022. Have you ever struggled to make your ASP.NET MVC views format your properties of type DateTime correctly? I have. And I’ve been shot in the leg by weird hacks made by both myself (just 6 months earlier) and someone else. .NET Date/DateTime formatting is an endless bag of funsies in general. So I thought I’d finally document the different ways … Continue reading How to format DateTimes in ASP.NET Core?