Configure Timezone Settings on Raspberry Pi Raspbian Wheezy

Below is an example on how to configure date and timezone settings on your Raspberry Pi Raspbian Wheezy. The following example is based on Debian Linux and it is working perfectly with Raspbian Wheezy for Raspberry Pi.

pi@raspi: ~ $sudo -i password: root@raspi:~# tzselect Please identify a location so that time zone rules can be set correctly. Please select a continent or ocean. 1) Africa 2) Americas 3) Antarctica 4) Arctic Ocean 5) Asia 6) Atlantic Ocean 7) Australia 8) Europe 9) Indian Ocean 10) Pacific Ocean 11) none - I want to specify the time zone using the Posix TZ format. #? 5 Please select a country. 1) Afghanistan 18) Israel 35) Palestine 2) Armenia 19) Japan 36) Philippines 3) Azerbaijan 20) Jordan 37) Qatar 4) Bahrain 21) Kazakhstan 38) Russia 5) Bangladesh 22) Korea (North) 39) Saudi Arabia 6) Bhutan 23) Korea (South) 40) Singapore 7) Brunei 24) Kuwait 41) Sri Lanka 8) Cambodia 25) Kyrgyzstan 42) Syria 9) China 26) Laos 43) Taiwan 10) Cyprus 27) Lebanon 44) Tajikistan 11) East Timor 28) Macau 45) Thailand 12) Georgia 29) Malaysia 46) Turkmenistan 13) Hong Kong 30) Mongolia 47) United Arab Emirates 14) India 31) Myanmar (Burma) 48) Uzbekistan 15) Indonesia 32) Nepal 49) Vietnam 16) Iran 33) Oman 50) Yemen 17) Iraq 34) Pakistan #? 15 Please select one of the following time zone regions. 1) Java & Sumatra 2) west & central Borneo 3) east & south Borneo, Sulawesi (Celebes), Bali, Nusa Tengarra, west Timor 4) west New Guinea (Irian Jaya) & Malukus (Moluccas) #? 1 The following information has been given: Indonesia Java & Sumatra Therefore TZ='Asia/Jakarta' will be used. Local time is now: Sun Jul 28 08:02:57 WIT 2013. Universal Time is now: Sun Jul 28 01:02:57 UTC 2013. Is the above information OK? 1) Yes 2) No #? 1 You can make this change permanent for yourself by appending the line TZ='Asia/Jakarta'; export TZ to the file '.profile' in your home directory; then log out and log in again. Here is that TZ value again, this time on standard output so that you can use the /usr/bin/tzselect command in shell scripts: Asia/Jakarta root@raspi:~# Notes Update: If any case that selecting timezone is not working, try to reconfigure your tzdata using dpkg-reconfigure tzdata command as root user and select your preferred time zone like the following example: aryo@raspi~$ date
Sun Sep 8 18:11:28 EDT 2013
aryo@raspi~ $sudo -i [sudo] password for aryo: root@raspi:~# dpkg-reconfigure tzdata Current default time zone: ‘Asia/Jakarta’ Local time is now: Mon Sep 9 05:13:41 WIT 2013. Universal Time is now: Sun Sep 8 22:13:41 UTC 2013. root@raspi:~# date Mon Sep 9 05:13:47 WIT 2013 root@raspi:~# Here’s a screenshot from executing dpkg-reconfigure tzdata command: 13 thoughts on “Configure Timezone Settings on Raspberry Pi Raspbian Wheezy” 1. This just doesn’t seem to work for me…. root@raspberrypi:~# tzselect Please identify a location so that time zone rules can be set correctly. Please select a continent or ocean. 1) Africa 2) Americas 3) Antarctica 4) Arctic Ocean 5) Asia 6) Atlantic Ocean 7) Australia 8) Europe 9) Indian Ocean 10) Pacific Ocean 11) none – I want to specify the time zone using the Posix TZ format. #? 2 Please select a country. 1) Anguilla 28) Haiti 2) Antigua & Barbuda 29) Honduras 3) Argentina 30) Jamaica 4) Aruba 31) Martinique 5) Bahamas 32) Mexico 6) Barbados 33) Montserrat 7) Belize 34) Nicaragua 8) Bolivia 35) Panama 9) Bonaire Sint Eustatius & Saba 36) Paraguay 10) Brazil 37) Peru 11) Canada 38) Puerto Rico 12) Cayman Islands 39) Sint Maarten 13) Chile 40) St Barthelemy 14) Colombia 41) St Kitts & Nevis 15) Costa Rica 42) St Lucia 16) Cuba 43) St Martin (French part) 17) Curacao 44) St Pierre & Miquelon 18) Dominica 45) St Vincent 19) Dominican Republic 46) Suriname 20) Ecuador 47) Trinidad & Tobago 21) El Salvador 48) Turks & Caicos Is 22) French Guiana 49) United States 23) Greenland 50) Uruguay 24) Grenada 51) Venezuela 25) Guadeloupe 52) Virgin Islands (UK) 26) Guatemala 53) Virgin Islands (US) 27) Guyana #? 49 Please select one of the following time zone regions. 1) Eastern Time 2) Eastern Time – Michigan – most locations 3) Eastern Time – Kentucky – Louisville area 4) Eastern Time – Kentucky – Wayne County 5) Eastern Time – Indiana – most locations 6) Eastern Time – Indiana – Daviess, Dubois, Knox & Martin Counties 7) Eastern Time – Indiana – Pulaski County 8) Eastern Time – Indiana – Crawford County 9) Eastern Time – Indiana – Pike County 10) Eastern Time – Indiana – Switzerland County 11) Central Time 12) Central Time – Indiana – Perry County 13) Central Time – Indiana – Starke County 14) Central Time – Michigan – Dickinson, Gogebic, Iron & Menominee Counties 15) Central Time – North Dakota – Oliver County 16) Central Time – North Dakota – Morton County (except Mandan area) 17) Central Time – North Dakota – Mercer County 18) Mountain Time 19) Mountain Time – south Idaho & east Oregon 20) Mountain Time – Navajo 21) Mountain Standard Time – Arizona 22) Pacific Time 23) Alaska Time 24) Alaska Time – Alaska panhandle 25) Alaska Time – southeast Alaska panhandle 26) Alaska Time – Alaska panhandle neck 27) Alaska Time – west Alaska 28) Aleutian Islands 29) Metlakatla Time – Annette Island 30) Hawaii #? 1 The following information has been given: United States Eastern Time Therefore TZ=’America/New_York’ will be used. Local time is now: Thu Aug 22 12:09:55 EDT 2013. Universal Time is now: Thu Aug 22 16:09:55 UTC 2013. Is the above information OK? 1) Yes 2) No #? 1 You can make this change permanent for yourself by appending the line TZ=’America/New_York’; export TZ to the file ‘.profile’ in your home directory; then log out and log in again. Here is that TZ value again, this time on standard output so that you can use the /usr/bin/tzselect command in shell scripts: America/New_York root@raspberrypi:~# date Thu Aug 22 17:09:58 BST 2013 ——- … any suggestions? • Try reconfiguring your tzdata using dpkg-reconfigure tzdata command as root user and select your preferred time zone like the following example: aryo@raspi~$ date
Sun Sep 8 18:11:28 EDT 2013
aryo@raspi~ \$ sudo -i
root@raspi:~# dpkg-reconfigure tzdata

Current default time zone: ‘Asia/Jakarta’
Local time is now: Mon Sep 9 05:13:41 WIT 2013.
Universal Time is now: Sun Sep 8 22:13:41 UTC 2013.

root@raspi:~# date
Mon Sep 9 05:13:47 WIT 2013
root@raspi:~#

2. If you want the change to take effect, then either reboot if you have modified your .profile or run the command it tells you to add:
TZ=’America/New_York’; export TZ

Then type ‘date’

3. Thank you! I was going all over the place trying .profile and then rc.config and no matter what I put in each the timezone for Raspbian would stay UTC.

After running dpkg-reconfigure tzdata it worked perfectly, rebooted and the settings stayed : )

4. On a slower machine we’d nonetheless need to have the ability to request an impact be applied to a complete monitor and to then take heed to the processed audio close to the middle of the monitor, after
a small wait, with Audacity realizing to course of that half first.

5. It’s the opposite of attractive and is quite repulsive.

My favorite part was when you put your hand on the small of my back outside the movie.