34 lines
627 B
Markdown
34 lines
627 B
Markdown
---
|
|
title: date.microsecond() function
|
|
description: >
|
|
The `date.microsecond()` function returns the microsecond of a specified time.
|
|
Results range from `[0-999999]`.
|
|
aliases:
|
|
- /v2.0/reference/flux/functions/date/microsecond/
|
|
menu:
|
|
v2_0_ref:
|
|
name: date.microsecond
|
|
parent: Date
|
|
weight: 301
|
|
---
|
|
|
|
The `date.microsecond()` function returns the microsecond of a specified time.
|
|
Results range from `[0-999999]`.
|
|
|
|
_**Function type:** Transformation_
|
|
|
|
```js
|
|
import "date"
|
|
|
|
date.microsecond(t: 2019-07-17T12:05:21.012934584Z)
|
|
|
|
// Returns 12934
|
|
```
|
|
|
|
## Parameters
|
|
|
|
### t
|
|
The time to operate on.
|
|
|
|
_**Data type:** Time_
|