The DayOfWeek function is a built-in function that returns the day of the week of dt, ranging from 0 (Sunday) to 6 (Saturday).

Input parameters

dt: Date Time Type

Output parameters

Integer Type

Examples

Usage

Result

DayOfWeek( #2001-09-14# )

5

See Also

Available Data and Time Functions | Available Built-in Functions