How to change the Time

7 posts
by DavidDunn » Mon Aug 06, 2012 2:31 pm
Just got my machine and its on UK time. How do I change it? I know it must be simple but....

Many thanks

Posts: 4
Joined: Mon Aug 06, 2012 2:26 pm
by james968 » Mon Aug 06, 2012 2:51 pm
If you are using Raspian then there is a utility which allows you to specify the time zone and other setup otptions:
_ /usr/bin/raspi-config

If you are using a debian variation (including raspbian) you can do:
_ sudo dpkg-reconfigure tzdata

(The time is set by contacting an NTP server, so you should have working internet access for it to set the time correctly, its the TZ you need to specify)

Posts: 29
Joined: Tue Jul 17, 2012 8:52 am
by DavidDunn » Mon Aug 06, 2012 3:06 pm

Many thanks. I will try it.

Posts: 4
Joined: Mon Aug 06, 2012 2:26 pm
by w.e. williamson jr. » Sun Sep 08, 2013 5:19 pm
Thanks for this post!
Posts: 1
Joined: Sun Sep 08, 2013 5:14 pm
by Hassufel » Sat Feb 22, 2014 8:11 am
Many thanks for this post! For me it was wery useful :D
Posts: 1
Joined: Sat Feb 22, 2014 8:09 am
by real1 » Sun Mar 29, 2015 9:30 am
Thank you for the information, i need to channge the clock on the raspberry pi.
User avatar
Posts: 5
Joined: Tue Jun 04, 2013 4:19 pm
by DougieLawson » Sun Mar 29, 2015 10:30 am
sudo raspi-config
has an option "internationalisation" under that menu there's a "timezone" setting.

Or just use
sudo dpkg-reconfigure tzdata

DO NOT reset the clock with a "date" command.

Four of my RPis switched to British Summer Time automagically. The other is set to stick on UTC/GMT all year round.
Please post technical questions on the forum, not by personal message. Thanks.

Hacker on ZX80, Microtan65, Raspberry Pi & Arduinos
Mainframe Database troubleshooter
MQTT Evangelist
RPi owner since 2012.
Twitter: @DougieLawson

2B, B+, A+, 5Bs, C
User avatar
Posts: 13153
Joined: Sun Jun 16, 2013 11:19 pm
Location: Basingstoke, UK