Edit

Share via


SystemClock.GetSystemTimeUtc Method

Definition

Gets the current system time directly using OS calls. Normally, this should return the same as UtcNow

public static DateTime GetSystemTimeUtc ();
static member GetSystemTimeUtc : unit -> DateTime
Public Shared Function GetSystemTimeUtc () As DateTime

Returns

The current system time

Applies to