Check out v4 of the Fauna CLI

v4 of the Fauna CLI is now in beta.

The new version introduces enhancements to the developer experience, including an improved authentication workflow. To get started, check out the CLI v4 quick start.

dayOfWeek

Get the day-of-week.

Signature

dayOfWeek: Number

Description

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

Return value

Type Description

Number

Day of week.
1 = Monday
7 = Sunday

Examples

Date('2099-02-10').dayOfWeek
2

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!