How to Set the Timezone on Your Raspberry Pi

Tyler Tyler (291)
1 minute

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

Raspberry PiRaspberry Pi ×1

Howchoo is reader-supported. When you buy through links on our site, we may earn a small affiliate commission at no cost to you.

Connect to your Pi to get to the command line. Then, open the Raspberry Pi configuration tool, better known as raspi-config, with the following command:

sudo raspi-config
Open "Localisation Options"

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

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
Find out what microcontroller suits your project best.
Ash Ash (330)

Finding the right microcontroller for your project is critical for not just budgetary reasons but also performance.