Redigera

Dela via


Date.Year() Method

Version: Available or changed with runtime version 14.0.

Gets the year.

Syntax

Year :=   Date.Year()

Note

This method can be invoked using property access syntax.

Parameters

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

Return Value

Year
 Type: Integer
The year.

Date Data Type
Getting Started with AL
Developing Extensions