Edit

Share via


Time.ToText([Boolean]) Method

Version: Available or changed with runtime version 15.0.

Converts the value to a text. Equvilant to calling Format(value, 0, 0).

Syntax

Text :=   Time.ToText([Invariant: Boolean])

Parameters

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

[Optional] Invariant
 Type: Boolean
If true, invariant formatting will be performed. Equvilant to calling Format(value, 0, 9).

Return Value

Text
 Type: Text
The text representation of the value.

Time data type
Getting started with AL
Developing extensions