Knowledge for the World

How to set the timezone on your Raspberry Pi

At some point in your Raspberry Pi hacking career, you'll need to know what time it is...in your own timezone. This guide will show you how to set the timezone in your Pi.

1

Better known as raspi-config, you can open the tool with the following:

sudo raspi-config
2

Open "Localisation Options"

With Localisation Options open you'll be able to choose Change Timezone and select your local timezone.

3

From the command line, you can simply type date and confirm the date is displayed in your desired timezone.

pi@raspberrypi:~ $ date
Wed 28 Nov 11:10:33 PST 2018