Wrong date when using old image file
Moderator: leecollings
-
- Posts: 13
- Joined: Monday 25 May 2015 15:31
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.10278
- Location: Assen
- Contact:
Wrong date when using old image file
I’ve had a problem with domoticz, so Now I use an old image file from domoticz. I made the image in january. Now the time and date are from january. I tried several linux commands to change this to the right date, whithout succes. Does anyone has an idea what to do?
-
- Posts: 13
- Joined: Monday 25 May 2015 15:31
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.10278
- Location: Assen
- Contact:
Re: Wrong date when using old image file
Uiteindelijk is het mijzelf gelukt:
sudo date -s "Mon Jul 2 19:40:26 UTC 2018"
En de datum en tijd staat weer goed.
Edit: Excuse me, in English:
I found out myself:
sudo date -s "Mon Jul 2 19:40:26 UTC 2018"
did the trick
sudo date -s "Mon Jul 2 19:40:26 UTC 2018"
En de datum en tijd staat weer goed.
Edit: Excuse me, in English:
I found out myself:
sudo date -s "Mon Jul 2 19:40:26 UTC 2018"
did the trick
Last edited by Bert84 on Sunday 08 July 2018 13:55, edited 1 time in total.
-
- Posts: 111
- Joined: Saturday 31 March 2018 22:24
- Target OS: Linux
- Domoticz version: Custom
- Location: Delft, NL
- Contact:
Re: Wrong date when using old image file
May like to look into the ntpdate command and ntpd daemon
Who is online
Users browsing this forum: No registered users and 1 guest