Are you using my updated libraries? Ivan’s Helper Libraries - OH3, Python, JavaScript
I have not done any work on the community scripts, but a PR would be welcome if you get this working. The information you need can be found in the Java documentation for ZonedDateTime.