Date.WeekNo() Method
Version: Available or changed with runtime version 14.0.
Gets the week number.
Syntax
WeekNo := Date.WeekNo()
Note
This method can be invoked using property access syntax.
Parameters
Date
Type: Date
An instance of the Date data type.
Return Value
WeekNo
Type: Integer
The week number.
Related information
Date Data Type
Getting Started with AL
Developing Extensions