JsonValue.AsDate() Method
Version: Available or changed with runtime version 1.0.
Converts the value in a JsonValue to a Date data type.
Syntax
Result := JsonValue.AsDate()
Parameters
JsonValue
Type: JsonValue
An instance of the JsonValue data type.
Return Value
Result
Type: Date
If the JsonValue does not contain a string of the format "yyyy-MM-dd" e.g. "2017-01-17" (2017-January-17), the operation will fail with a run-time error.
See Also
JsonValue Data Type
Get Started with AL
Developing Extensions
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for