# now.getMinuteOfDay in openHAB 3

**URL:** <https://community.openhab.org/t/now-getminuteofday-in-openhab-3/111387>\
**Category:** Scripts & Rules\
**Created:** [December 26, 2020, 2:27pm UTC](https://community.openhab.org/t/now-getminuteofday-in-openhab-3/111387 "2020-12-26T14:27:11Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![hafniumzinc](https://community.openhab.org/letter_avatar_proxy/v4/letter/h/b9bd4f/32.png) [@hafniumzinc](https://community.openhab.org/u/hafniumzinc)\
**Post date:** [December 26, 2020, 3:20pm UTC](https://community.openhab.org/t/now-getminuteofday-in-openhab-3/111387/7 "2020-12-26T15:20:40Z")

</div>

> [@iLion](#):
>
> Where do you read get **MinuteOfDay**?

We don’t, just asked whether it helped, but I did say:

> [@hafniumzinc](#):
>
> and the link(s)

The link in question is reproduced below:

> [@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…

Any use? Otherwise, I guess you’ll have to look up

> [@hafniumzinc](#):
>
> Java Time API

---

_[View the full topic](https://community.openhab.org/t/now-getminuteofday-in-openhab-3/111387)._
