TestField.AsDateTime() Method

Version: Available or changed with runtime version 1.0.

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

Syntax

Result :=   TestField.AsDateTime()

Parameters

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

Return Value

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

See Also

TestField Data Type
Getting Started with AL
Developing Extensions