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

604 B

title description aliases menu weight
date.monthDay() function The `date.monthDay()` function returns the day of the month for a specified time. Results range from `[1-31]`.
/v2.0/reference/flux/functions/date/monthday/
v2_0_ref
name parent
date.monthDay Date
301

The date.monthDay() function returns the day of the month for a specified time. Results range from [1-31].

Function type: Transformation

import "date"

date.monthDay(t: 2019-07-17T12:05:21.012Z)

// Returns 17

Parameters

t

The time to operate on.

Data type: Time