How to Set the Timezone on Your Raspberry Pi

John John (304)
1 minute

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.

Raspberry PiRaspberry Pi ×1

Howchoo is reader-supported. As an Amazon Associate, we may earn a small affiliate commission at no cost to you when you buy through our links.

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
Get the new official Raspberry Pi OS on your Pi.
Ash Ash (362)
10 minutes

The Raspberry Pi Foundation recently announced the release of Raspberry Pi OS—a new update and name change for the classic Raspberry Pi operating system Raspbian.