date.nanosecond() function

Warning! This page documents an earlier version of Flux, which is no longer actively developed. Flux v0.65 is the most recent stable version of Flux.

The date.nanosecond() function returns the nanosecond of a specified time. Results range from [0-999999999].

Function type: Transformation

import "date"

date.nanosecond(t: 2019-07-17T12:05:21.012934584Z)

// Returns 12934584



The time to operate on.

Data type: Time