Date.DayOfWeek() Method

Version: Available or changed with runtime version 14.0.

Gets the day of the week.

Syntax

DayOfWeek :=   Date.DayOfWeek()

Note

This method can be invoked using property access syntax.

Parameters

Date
 Type: Date
An instance of the Date data type.

Return Value

DayOfWeek
 Type: Integer
The day of week.

Date Data Type
Getting Started with AL
Developing Extensions