# OH3 - Coming from 2.5 Automatic Shutter dont work anymore

**URL:** <https://community.openhab.org/t/oh3-coming-from-2-5-automatic-shutter-dont-work-anymore/120351>\
**Category:** Migration\
**Tags:** rules\
**Created:** [April 7, 2021, 8:50am UTC](https://community.openhab.org/t/oh3-coming-from-2-5-automatic-shutter-dont-work-anymore/120351 "2021-04-07T08:50:26Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![rossko57](https://community.openhab.org/user_avatar/community.openhab.org/rossko57/32/70263_2.png) [@rossko57](https://community.openhab.org/u/rossko57)\
**Post date:** [April 7, 2021, 9:15am UTC](https://community.openhab.org/t/oh3-coming-from-2-5-automatic-shutter-dont-work-anymore/120351/2 "2021-04-07T09:15:42Z")

</div>

There must now be a hundred threads on here about how most OH2 rules that use datetime will need changing for OH3, because of underlying java changes.  
Start here maybe

> [@DateTime Conversion (openHAB 3.x)](https://community.openhab.org/t/datetime-conversion-openhab-3-x/107197):
>
> Because openHAB 2.x rules use Jodatime instead of Java Time API, there is still the old [DateTime Conversion thread for openHAB 2.x](https://community.openhab.org/t/datetime-conversion-openhab-2-x/54266). Overview In openHab 3.x there are different ways to handle Date/Time values. DateTimeType A [DateTime Item](https://www.openhab.org/docs/concepts/items.html#items) carries a [DateTimeType](https://www.openhab.org/docs/concepts/items.html#state-and-command-type-formatting). Java Time By default openHAB 3.x Rules DSL use [java.time API](https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/package-summary.html) to represent date and time. Principle java date-time concepts are [LocalDateTime](https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/LocalDateTime.html) (date and time without any offset or time-zone) and [ZonedDateTime](https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/ZonedDateTime.html) (“full” date-time wit…

---

_[View the full topic](https://community.openhab.org/t/oh3-coming-from-2-5-automatic-shutter-dont-work-anymore/120351)._
