DateTime.Nanosecond

From Xojo Documentation

Read-Only Property (As Integer )
IntegerValue = aDateTime.Nanosecond

New in 2019r2

Supported for all project types and targets.

The nanoseconds of the time portion of the date. A nanosecond is one billionth of a second.

Sample Code

Get the current nanosecond:

Var d As DateTime = DateTime.Now
Var nanosecond As Integer = d.Nanosecond