DateOnly and TimeOnly in C#

added by DotNetKicks
2/1/2022 5:32:03 PM

402 Views

In this article, we are going to explore DateOnly and TimeOnly in C#, see what functionality exists for both, and help decide when to use one or the other. When it comes to dates and times in C#, for the longest time we have been stuck with the DateTime struct, to serve both purposes.


0 comments