Check out the conversion functions in core.date
to convert the ZonedDateTime
to joda.DateTime
. Just to clarify, Joda is probably not going away tomorrow, it’s not “wrong” to use it. When openHAB moves to a newer Java version, which there is no timeline for or talk of that I have seen yet, Joda will be depreciated but not gone.
Check this out for Python timers