DateTimeOffset.Microsecond Property

Definition

Gets the microsecond component of the time represented by the current DateTimeOffset object.

public int Microsecond { get; }

Property Value

Remarks

If you rely on properties such as Now or UtcNow to accurately track the number of elapsed microseconds, the precision of the time's microseconds component depends on the resolution of the system clock. On Windows NT 3.5 and later, and Windows Vista operating systems, the clock's resolution is approximately 10000-15000 microseconds.

Applies to

Product Versions
.NET 7, 8, 9