Microseconds and Nanoseconds available in .NET 7

Currently developers have to perform calculations on the Ticks property to calculate microseconds and nanoseconds.

.NET 7 will address this by introducing both microseconds and milliseconds to the date and time implementations. Example below…

Add Microseconds and Nanoseconds to TimeStamp, DateTime, DateTimeOffset, and TimeOnly · Issue #23799 · dotnet/runtime (github.com)

Leave a Reply

Your email address will not be published. Required fields are marked *