JSScripting DateTimeType to ZonedDateTime Syntax Error

But that is for DSL rules, and you are working in javascript.