First post here and I hope it´s OK that I continue this thread.
The clock in my raspberry have been off for some time now and today I wanted to fix this. The reason it got off I suspect is that I hade the power in my house turned off for a few hours to do some electrical stuff. After this the clock in the raspberry was off by about 10 hours. This is really inconvenient since I use the raspberry to log the heater pump for the house and I need the graphs to align with the time of day.
I first tried the "internationalization" route with no success and now I have tried all different ways that I have found on the Internet. One of these methods seem to have worked, but I was clumsy enough to change the year to 2017 (should have changed the only the date to the 17:th). Using the same method (which I now have forgot what it was) didn't work. So now I'm stuck!
The date in the Raspberry is "Fri Nov 17 14:45:51 CET 2017" and the correct time is Thu Nov 17 16:18:XX CET 2016. I am able to change the time using "sudo date -s "2016-11-17 16:18" and verifying this with "date", but when I reboot it's back to 2017 again.
Please help me to figure out what I'm doing wrong!
Update:
Further investigations has got me to suspect that this might not be something that is wrong with my equipment, nor my efforts to sort this out, but rather something with my ISP. Using the command
the servers in the list reports all zeros under "reach", "delay", "offset" and "jitter". Reading about this I have found others with the same problem that stated that their ISP blocked NTP-servers, and also some reported that the ISP blocked port 123.
When thinking about this one thing keeps bugging me. The reason to cut the power was that we had fiber connected to the house, and when going from ADSL and routing the new cables I had to mess around in the main electrical central. We also got a new router to the fiber and it was after this I found the problem with the time in the Raspberry. Maybe the power cut never was the culprit here. Obviously I have cut the power several times during the two years we have had the Raspberry logging the heater pump, and have never had this problem before.
I have called my ISP but their answer was that they don't block anything. Is there a way for me to confirm that the problem is with my ISP? (We did not change ISP when we got the fiber, it's the same one as we had for the ADSL.)