Short answer

Find the zone name with timedatectl list-timezones | grep -i york, then set it with sudo timedatectl set-timezone America/New_York. Check it with timedatectl. cron and systemd timers follow the change at once. Restart rsyslog and other running services, or reboot, so their logs use the new zone too.

Tested on Ubuntu 26.04 and 24.04, two separate runs. On 24.04? One section differs, each step marked “On Ubuntu 24.04” right under it: Step 5: Restart what keeps the old zone. Everything that differed

Before you start

  • An Ubuntu 26.04 or 24.04 server and a user with sudo (create one).
  • The zone changes only how the time is SHOWN. The clock itself stays the same: Linux counts time in UTC and converts it for display.
  • Many servers stay on UTC on purpose: the logs of servers in different places then line up, and there is no summer time change. Set a local zone when you want cron times and log times to read in your own time.

Step 1: Check the current timezone

A new cloud server is on UTC:

Server
$ timedatectl               Local time: Wed 2026-11-18 11:57:44 UTC           Universal time: Wed 2026-11-18 11:57:44 UTC                 RTC time: Wed 2026-11-18 11:57:44                Time zone: Etc/UTC (UTC, +0000)System clock synchronized: yes              NTP service: active          RTC in local TZ: no
Output hidden (7 lines)

System clock synchronized: yes and NTP service: active mean the clock is kept right over the internet. That is separate from the zone, and changing the zone does not touch it.

Step 2: Find the name of your zone

Zone names are Region/City, such as Europe/London or Asia/Tokyo. Search the list for your city, or a big city in the same zone:

Server
$ timedatectl list-timezones | grep -i yorkAmerica/New_York
Output hidden (1 line)

The full list has several hundred names:

Server
$ timedatectl list-timezones | wc -l485
Output hidden (1 line)

Step 3: Set the timezone

It prints nothing when it works:

Server
$ sudo timedatectl set-timezone America/New_York
Server
$ timedatectl               Local time: Wed 2026-11-18 06:57:50 EST           Universal time: Wed 2026-11-18 11:57:50 UTC                 RTC time: Wed 2026-11-18 11:57:50                Time zone: America/New_York (EST, -0500)System clock synchronized: yes              NTP service: active          RTC in local TZ: no
Output hidden (7 lines)

Local time is now New York time. Universal time did not change: only the way the time is shown changed.

Server
$ dateWed Nov 18 06:57:51 EST 2026
Output hidden (1 line)

The whole change is one link: /etc/localtime now points to the New York file in /usr/share/zoneinfo/. It stays after a reboot.

Server
$ ls -l /etc/localtimelrwxrwxrwx 1 root root 38 Nov 18 06:57 /etc/localtime -> ../usr/share/zoneinfo/America/New_York
Output hidden (1 line)

Step 4: What follows the change at once

cron: no restart needed

Many guides tell you to restart cron. On Ubuntu 26.04 and 24.04 you do not need to: their cron checks the zone every minute. To see it, add a test job with crontab -e that runs two minutes from now in the new zone:

Server
$ crontab -l59 6 * * * date > ~/cron-test.txt
Output hidden (1 line)

cron had been running since before the change. The job still ran at that New York time:

Server
$ cat ~/cron-test.txtWed Nov 18 06:59:01 EST 2026
Output hidden (1 line)

Remove the test line with crontab -e afterwards.

systemd timers

Timers follow too. The automatic updates run at 6:00 plus up to an hour, and that is now 6:00 New York time, not 6:00 UTC:

Server
$ systemctl list-timers apt-daily-upgrade.timer --no-pagerNEXT                        LEFT LAST PASSED UNIT                    ACTIVATESThu 2026-11-19 06:20:00 EST  23h -         - apt-daily-upgrade.timer apt-daily-upgrade.service 1 timers listed.Pass --all to see loaded but inactive timers, too.
Output hidden (5 lines)

The journal

journalctl shows every line in the current zone, old lines included. It also records the change itself:

Server
$ sudo journalctl -q -t systemd-timedated --no-pagerNov 18 06:57:49 web-server systemd-timedated[1416]: Changed time zone to 'America/New_York' (EDT).
Output hidden (1 line)

Step 5: Restart what keeps the old zone

/var/log/syslog

rsyslog writes /var/log/syslog and reads the zone only when it starts. Write a test line to the log and look at its time:

Server
$ logger 'zone test 1'
Server
$ sudo grep 'zone test' /var/log/syslog2026-11-18T11:59:13.344362+00:00 web-server deploy: zone test 1
Output hidden (1 line)

It still ends in +00:00, UTC. Restart rsyslog and try again:

Server
$ sudo systemctl restart rsyslog
Server
$ logger 'zone test 2'
Server
$ sudo grep 'zone test' /var/log/syslog2026-11-18T11:59:13.344362+00:00 web-server deploy: zone test 12026-11-18T06:59:15.854894-05:00 web-server deploy: zone test 2
Output hidden (2 lines)

The new line carries the New York offset (-05:00 in winter). Lines written before keep their old time.

Programs that were already running

A program reads the zone when it starts. In the test, a program started before the change went on printing UTC times after it. Restart each service you run, for example sudo systemctl restart nginx, or reboot (step 6).

/etc/timezone

Some guides check the zone with cat /etc/timezone. Ubuntu 26.04 has no such file, and even dpkg-reconfigure tzdata does not make one. Use timedatectl (step 1) or ls -l /etc/localtime instead:

Server
$ cat /etc/timezonecat: /etc/timezone: No such file or directory
Output hidden (1 line)
On Ubuntu 24.04

Ubuntu 24.04 still keeps the zone name as text in /etc/timezone, and some programs read it. timedatectl does not update it, so after step 3 it still says UTC:

Server
$ cat /etc/timezoneEtc/UTC
Output hidden (1 line)

This command reads the zone from /etc/localtime and writes it there:

Server
$ sudo dpkg-reconfigure -f noninteractive tzdata Current default time zone: 'America/New_York'Local time is now:      Wed Nov 18 07:05:16 EST 2026.Universal Time is now:  Wed Nov 18 12:05:16 UTC 2026.
Output hidden (4 lines)
Server
$ cat /etc/timezoneAmerica/New_York
Output hidden (1 line)

Step 6: Reboot and check

A reboot is the simple way to make every service start in the new zone. Do it when the server is not busy:

Server
$ sudo reboot

Log in again. The zone is still New York and the clock is synchronized:

Server
$ timedatectl               Local time: Wed 2026-11-18 06:59:56 EST           Universal time: Wed 2026-11-18 11:59:56 UTC                 RTC time: Wed 2026-11-18 11:59:56                Time zone: America/New_York (EST, -0500)System clock synchronized: yes              NTP service: active          RTC in local TZ: no
Output hidden (7 lines)

“Invalid or not installed time zone”

The name is misspelt, or it is not in the list. Nothing was changed. Copy the exact name from timedatectl list-timezones; it is case-sensitive:

Server
$ sudo timedatectl set-timezone America/New_YrokFailed to set time zone: Invalid or not installed time zone 'America/New_Yrok'
Output hidden (1 line)

Another zone for one command or one job

To see the time in another zone without changing the server, set TZ for one command:

Server
$ TZ=Asia/Tokyo dateWed Nov 18 20:59:59 JST 2026
Output hidden (1 line)

cron cannot run one job in another zone. Some guides add CRON_TZ= to a crontab. Ubuntu’s cron ignores it: in the test a job with CRON_TZ=UTC did not run at its UTC time, while a normal job next to it ran. A systemd timer can name its own zone instead. Check when such a time falls with:

Server
$ systemd-analyze calendar '*-*-* 09:00 Asia/Tokyo'  Original form: *-*-* 09:00 Asia/TokyoNormalized form: *-*-* 09:00:00 Asia/Tokyo    Next elapse: Wed 2026-11-18 19:00:00 EST       (in UTC): Thu 2026-11-19 00:00:00 UTC       From now: 11h left
Output hidden (5 lines)

Put the same text in a timer’s OnCalendar= line to run a job at 09:00 Tokyo time on a New York server.

What these steps change on the server

Both runs recorded the server before the first step and after the last (see the Tested on box below). The setting itself is the /etc/localtime link, plus /etc/timezone on 24.04 once dpkg-reconfigure has run. No package, service or open port changed.

Ubuntu 26.04 vs 24.04: what changed

WhatUbuntu 26.04Ubuntu 24.04
SystemUbuntu 26.04.1 LTS7.0.0-43-genericUbuntu 24.04.5 LTS6.8.0-147-generic
systemd259.9-0ubuntu0.1255.4-1ubuntu8.18
tzdata2026e-0ubuntu0.26.04.12026e-0ubuntu0.24.04.1
cron3.0pl1-200ubuntu13.0pl1-184ubuntu2
rsyslog8.2512.0-1ubuntu4.28.2312.0-3ubuntu9.4
/etc/timezonedoes not existexists; timedatectl leaves it stale
Where /etc/localtime points../usr/share/zoneinfo/… (a relative link)/usr/share/zoneinfo/… (an absolute link)
Zone names timedatectl list-timezones knows485497
ProofRun log, 35 checks passedRun log, 35 checks passed

Undo: go back to UTC

Server
$ sudo timedatectl set-timezone Etc/UTC
Server
$ sudo dpkg-reconfigure -f noninteractive tzdata Current default time zone: 'Etc/UTC'Local time is now:      Wed Nov 18 12:02:21 UTC 2026.Universal Time is now:  Wed Nov 18 12:02:21 UTC 2026.
Output hidden (4 lines)
Server
$ sudo systemctl restart rsyslog
Server
$ timedatectl               Local time: Wed 2026-11-18 12:02:23 UTC           Universal time: Wed 2026-11-18 12:02:23 UTC                 RTC time: Wed 2026-11-18 12:02:23                Time zone: Etc/UTC (UTC, +0000)System clock synchronized: yes              NTP service: active          RTC in local TZ: no
Output hidden (7 lines)