OH3 Getting .zonedDateTime.toInstant.toEpochMilli from an existing Item

It’s about converting an uptime reporting OH 2.x rule to OH 3.x. Here’s the rule I have had in place for 3 years now that needed fixing.

I didn’t want to rewrite the logic, just wanted to fix the OH2 to OH3 conversion issue.

Show openHAB uptime - Tutorials & Examples - openHAB Community

Best, Jay