How to Change the Timezone on Ubuntu

If you’re using Ubuntu 20.04 (and likely prior and future releases), you can change your timezone with the following command:

sudo timedatectl set-timezone America/New_York

To determine which timezone string you need (e.g., America/New_York), you can run this command:

timedatectl list-timezones