docs-v2/content/v2.0/reference/flux/stdlib/date/millisecond.md

621 B

title description aliases menu weight
date.millisecond() function The `date.millisecond()` function returns the millisecond of a specified time. Results range from `[0-999999]`.
/v2.0/reference/flux/functions/date/millisecond/
v2_0_ref
name parent
date.millisecond Date
301

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