# TimeZone DST - Log shows 1 hour behind

**URL:** <https://community.openhab.org/t/timezone-dst-log-shows-1-hour-behind/96822>\
**Category:** Beginners\
**Tags:** raspberry, openhabian\
**Created:** [April 17, 2020, 1:17pm UTC](https://community.openhab.org/t/timezone-dst-log-shows-1-hour-behind/96822 "2020-04-17T13:17:58Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![chrisonline](https://community.openhab.org/user_avatar/community.openhab.org/chrisonline/32/72378_2.png) [@chrisonline](https://community.openhab.org/u/chrisonline)\
**Post date:** [April 17, 2020, 1:17pm UTC](https://community.openhab.org/t/timezone-dst-log-shows-1-hour-behind/96822/1 "2020-04-17T13:17:58Z")

</div>

How can I set that the DST will be used?

I have set inside the Paper UI the timezone to GMT+1.

 ![timezone](https://community-openhab-org.s3.dualstack.eu-central-1.amazonaws.com/original/3X/a/1/a1aca046dd43d58f08da0ab0d74663c7e2be3bb6.png)

On the rasperry PI with openhabian I see the time without DST.

 ![timedatectl](https://community-openhab-org.s3.dualstack.eu-central-1.amazonaws.com/original/3X/2/5/25c783c0f8ab3dcceeb904e3ec1cbfeb3d3ebc15.png)

So now it is 15:13 and I see 14:13 inside the logs and on the CLI.  
So I think also the rules are running with time 14:13 instead of 15:13.

---

<div class="post-metadata">

**Author:** ![H102](https://community.openhab.org/user_avatar/community.openhab.org/h102/32/25595_2.png) [@H102](https://community.openhab.org/u/H102)\
**Post date:** [April 17, 2020, 3:16pm UTC](https://community.openhab.org/t/timezone-dst-log-shows-1-hour-behind/96822/2 "2020-04-17T15:16:46Z")

</div>

Have you tried using **sudo openhabian-config** tool and select option 30 then number 33 to set system time?

---

<div class="post-metadata">

**Author:** ![chrisonline](https://community.openhab.org/user_avatar/community.openhab.org/chrisonline/32/72378_2.png) [@chrisonline](https://community.openhab.org/u/chrisonline)\
**Post date:** [April 17, 2020, 4:45pm UTC](https://community.openhab.org/t/timezone-dst-log-shows-1-hour-behind/96822/3 "2020-04-17T16:45:55Z")

</div>

Thanks this solved the problem. Now I see from timedatectl the time 18:44 and now it is 18:44.  
The log file still shows one hour before 17:44!

Let’s see if the rules are working now as exptected.  
Thanks again.

---

<div class="post-metadata">

**Author:** ![H102](https://community.openhab.org/user_avatar/community.openhab.org/h102/32/25595_2.png) [@H102](https://community.openhab.org/u/H102)\
**Post date:** [April 17, 2020, 4:47pm UTC](https://community.openhab.org/t/timezone-dst-log-shows-1-hour-behind/96822/4 "2020-04-17T16:47:23Z")

</div>

> [@chrisonline](#):
>
> The log file still shows one hour before 17:44!

You may need to restart OH and if that does not work then stop OH and clean the cache. 😉

---

<div class="post-metadata">

**Author:** ![chrisonline](https://community.openhab.org/user_avatar/community.openhab.org/chrisonline/32/72378_2.png) [@chrisonline](https://community.openhab.org/u/chrisonline)\
**Post date:** [April 17, 2020, 9:16pm UTC](https://community.openhab.org/t/timezone-dst-log-shows-1-hour-behind/96822/5 "2020-04-17T21:16:38Z")

</div>

After reboot the log is also correct.  
So I think all is fine now.

Thanks.
