DateTimeOffset.Microsecond Property
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
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.
Product | Versions |
---|---|
.NET | 7, 8, 9 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: