Date
The return type is expected to be an Instant value. Arcade converts the return type to an Instant via the following transformations:
Instant objects are returned unchanged.
LocalDate objects are converted by assuming the time is midnight.
OffsetDateTime objects are converted to match local time.
strings are parsed if they match the ISO 8601 format, YYYY-MM-DDTHH:MM:SS.
all other types are converted to null.
Since
200.4.0