By default once you have installed your Raspbian OS on Raspberry Pi box comes with time in UTC format. This is not issue but sometimes is better to have your local time if you are running some applications for example like me Screenly and I have configured local time for broadcast.
Here are few ways to set your Raspberry Pi with local time:
- Command line
sudo service ntp stop; sleep 3; sudo ntpd -gq; sleep 3; sudo service ntp start
This sometimes works and sometimes does not — why ? I cannot tell
- You can use GUI and select the correct local time zone
sudo dpkg-reconfigure tzdata
Once you have configured the correct local time zone – make sure you restart your Raspberry Pi box and once in check the date/time to make sure the changes are applied.