dayOfMonth

Get the day-of-month.

Signature

dayOfMonth: Number

Description

Extracts the day-of-month from the instance date.

Return value

Type Description

Number

Day of month.

Examples

Date('2023-02-10').dayOfMonth
10

Is this article helpful? 

Tell Fauna how the article can be improved:
Visit Fauna's forums or email docs@fauna.com

Thank you for your feedback!