# Wrong time after power off

**URL:** https://dietpi.com/forum/t/wrong-time-after-power-off/3181
**Category:** Troubleshooting
**Created:** [14 May 2019 16:36 UTC](https://dietpi.com/forum/t/wrong-time-after-power-off/3181 "2019-05-14T16:36:41Z")
**Posts on this page:** 1
**Showing post:** 1

<div class="post-metadata">

### Author: ![huidbui25](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/h/85f322/32.png) [@huidbui25](https://dietpi.com/forum/u/huidbui25)
#### Post date: [14 May 2019 16:36 UTC](https://dietpi.com/forum/t/wrong-time-after-power-off/3181/1 "2019-05-14T16:36:41Z")

</div>

Hi!

After powering off my rPi for a few hours (e.g. night), DietPi doesn’t get the new time when powered on again. Rebooting DietPi doesn’t help. Wrong system time makes my DietPi behave as if there was no online connection (b/c unbound’s DNS resolution fails).

My work around: I stop fake-hwclock.service, manually type in the new time, start fake-hwlock and all things work fine again instantly.

Question: Do I have to install NTP and use ntpd to get the new time automatically during boot up or is there anything I can do with the tools aboard DietPi?

---

_[View the full topic](https://dietpi.com/forum/t/wrong-time-after-power-off/3181)._
