Page 1 of 1
Wrong date when using old image file
Posted: Sunday 01 July 2018 21:36
by Bert84
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?
Re: Wrong date when using old image file
Posted: Wednesday 04 July 2018 21:30
by Bert84
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
Re: Wrong date when using old image file
Posted: Thursday 05 July 2018 9:44
by gordonb3
May like to look into the ntpdate command and ntpd daemon