InfluxDB Docs

date.millisecond() function

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

Function type: Transformation

import "date"

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

// Returns 12

Parameters

t

The time to operate on.

Data type: Time