Redigera

Dela via


DateTime.Date() Method

Version: Available or changed with runtime version 14.0.

Gets the date part.

Syntax

Date :=   DateTime.Date()

Note

This method can be invoked using property access syntax.

Parameters

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

Return Value

Date
 Type: Date
The date.

DateTime Data Type
Getting Started with AL
Developing Extensions