TimestampOffset

The return type is expected to be an OffsetDateTime value. Arcade converts the return type to an OffsetDateTime via the following transformations:

  • OffsetDateTime objects are returned unchanged.

  • Instant objects display their offset from UTC based on their timezone.

  • LocalDate objects are converted assuming the time is midnight with no offset from UTC.

  • strings are parsed if they match the ISO 8601 format, YYYY-MM-DDTHH:MM:SS+/-HH::MM.

  • all other types are converted to null.

Since

200.4.0