DateTimeOffset.Nanosecond Property
Definition
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 nanosecond component of the time represented by the current DateTimeOffset object.
public:
property int Nanosecond { int get(); };
public int Nanosecond { get; }
member this.Nanosecond : int
Public ReadOnly Property Nanosecond As Integer
Property Value
Remarks
If you rely on properties such as Now or UtcNow to accurately track the number of elapsed nanosecond, the precision of the time's nanosecond 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 10000000-15000000 nanoseconds.