There are some usecases where you can’t use NTP to sync your local time with a timeserver. Especially when you’re behind a http proxy.

There is a simple solution for you to set your local time correctly. It will not be as accurate as NTP obviously, so if you really need an exact time setting you can’t get arround NTP. But for my purpose it’s correct enough.

sudo date -s "$(curl -sD - | grep '^Date:' | cut -d' ' -f3-6)Z"

This gets a timestamp from google and sets it as GMT time. So if you’ve got the correct timezone settings you’re operating system should now display your local time.