TestField.AsDate() Method

Version: Available or changed with runtime version 1.0.

Converts the value in a field on a test page to a Date data type.

Syntax

Result :=   TestField.AsDate()

Parameters

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

Return Value

Result
 Type: Date
The value of the field as a Date.

See Also

TestField Data Type
Get Started with AL
Developing Extensions