Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

DateTimeOffset.Microsecond Property

Definition

Namespace:
System
Assemblies:
netstandard.dll, System.Runtime.dll
Source:
DateTimeOffset.cs
Source:
DateTimeOffset.cs
Source:
DateTimeOffset.cs
Source:
DateTimeOffset.cs
Source:
DateTimeOffset.cs

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

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

public:
 property int Microsecond { int get(); };
public int Microsecond { get; }
member this.Microsecond : int
Public ReadOnly Property Microsecond As Integer

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


Feedback

Was this page helpful?