Modifier

Partager via


System.DT2Time(DateTime) 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.

System Data Type
Get Started with AL
Developing Extensions