dow()

Examples


The dow() function returns a value corresponding to the day of the week a date falls on.

Syntax

dow(date)

Parameters

date – A date or datetime value.

Return value

An integer between 0 and 6. The table lists the return values and the corresponding day of the week.

[spacer]

Value

Day

0

Sunday

1

Monday

2

Tuesday

3

Wednesday

4

Thursday

5

Friday

6

Saturday



Documentation Feedback