SystemClock Class¶
Provides access to the normal system clock.
- Namespace
Microsoft.Extensions.Internal
- Assemblies
- Microsoft.Extensions.Caching.Abstractions
Properties¶
-
Microsoft.Extensions.Internal.SystemClock.
UtcNow
¶ Retrieves the current system time in UTC.
Return type: System.DateTimeOffset public DateTimeOffset UtcNow { get; }
-