System.DT2Time Method

Version: Available or changed with runtime version 1.0.

Gets the time part of a DateTime object.

Syntax

Time :=   System.DT2Time(Datetime: DateTime)

Note

This method can be invoked without specifying the data type name.

Parameters

Datetime
 Type: DateTime
The DateTime of which to return the time part.

Return Value

Time
 Type: Time

Remarks

If Datetime is undefined, then this method returns an undefined time.

See Also

System Data Type
Getting Started with AL
Developing Extensions