Editar

Compartilhar via


JsonValue.AsTime() Method

Version: Available or changed with runtime version 1.0.

Converts the value in a JsonValue to a Time data type.

Syntax

Result :=   JsonValue.AsTime()

Parameters

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

Return Value

Result
 Type: Time
If the JsonValue does not contain a string of the format "HH:mm:ss.FFFFFFF" ( see Custom Date and Time Format Strings) the operation will fail with a run-time error.

JsonValue Data Type
Get Started with AL
Developing Extensions