Click here to Skip to main content
15,886,842 members
Articles / Web Development / ASP.NET

DateOnly in .NET 6 and ASP.NET Core 6

Rate me:
Please Sign up or sign in to vote.
5.00/5 (4 votes)
14 Nov 2022CPOL7 min read 33.6K   12  
Solutions for using DateOnly in ASP.NET Core 6, before 7 (Updated for .NET 7)
DateOnly introduced in .NET 6 is not good enough for ASP.NET Core 6 out of the box. This article provides solutions for utilizing DateOnly before Microsoft's .NET runtime team or ASP.NET Core team would fix the issues, probably in upcoming .NET 7.

Views

Daily Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer
Australia Australia
I started my IT career in programming on different embedded devices since 1992, such as credit card readers, smart card readers and Palm Pilot.

Since 2000, I have mostly been developing business applications on Windows platforms while also developing some tools for myself and developers around the world, so we developers could focus more on delivering business values rather than repetitive tasks of handling technical details.

Beside technical works, I enjoy reading literatures, playing balls, cooking and gardening.

Comments and Discussions