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

627 B

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

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

Function type: Transformation

import "date"

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

// Returns 12934

Parameters

t

The time to operate on.

Data type: Time