Skip to main content

How to Set The Timezone in Linux

Alex Patnick avatar
Written by Alex Patnick
Updated over 2 weeks ago

By default, Faddom uses UTC as a timezone. If you wish to use your local timezone, you can follow the procedure below

  1. Connect via SSH to the Faddom server

  2. If you do not know the exact timezone you need, use the command
    timedatectl list-timezones.

    This will provide you with a list of time zones you can browse. You can narrow this down by using timedatectl list-timezones | grep PREFIX where prefix matches is, for example America/ or Europe/.

    As an example, if you are in a North American timezone and you are unsure which option to use, you can search the options using timedatectl list-timezones | grep America .

    For Europe, the equivalent would be timedatectl list-timezones | grep Europe/

  3. Set the timezone by using sudo timedatectl set-timezone <timezone>.


    For example, for the North America PST timezone, you may wish to use
    sudo timedatectl set-timezone America/Los_Angeles, or sudo timedatectl set-timezone America/Toronto

    For Europe, you may wish to use sudo timedatectl set-timezone Europe/Berlin or sudo timedatectl set-timezone Europe/London

Did this answer your question?