dayOfWeek

Get the day of the week from a Date.

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
\