We got a new abstract class TimeProvider (here is the proposal doc for it - API to provide the current system time #36617, originally proposed - Too many ISystemClock definitions #16844)
As the proposal says
This abstraction will include the ability to retrieve the system date and time, either in UTC or local time, as well as timestamps for use in performance or tagging scenarios.
There are many implementations around this (Around 7 of ISystemClock implementations, ITimer, and sometimes by developers), and it was a good idea to move them out and make a single common implementation.
Here is a cool video from Nick Chapsas on this 🙏
BTW, They made it work on down-level supported versions of both .NET and .NET Core - by creating a netstandard 2.0 library called Microsoft.Bcl.TimeProvider.
Announcing .NET 8 Preview 4 - .NET Blog
.NET 8 Preview 4 contains many exciting new features for the runtime and libraries, Native AOT improvements, modern build output and simplified paths, NuGet package security auditing, and much more!