NanoSecondsFromTime function

Returns the nanosecond portion of a time.

Namespace

datetime

Input

time(time)

Output

nano seconds(int)

Example

If basetime contains the time 22:30:00.32, then the following function returns the value 320000000:

set-column result datetime:NanoSecondsFromTime('22:30:00.32') set-column result datetime:NanoSecondsFromTime(basetime)

 

Created in 2020 by Google Inc.