Report this

What is the reason for this report?

How To Set Up Time Synchronization on Ubuntu

Updated on March 25, 2026

Not using Ubuntu 20.04?
Choose a different version or distribution.
Ubuntu 20.04
How To Set Up Time Synchronization on Ubuntu

Introduction

Accurate timekeeping is integral to modern software deployments. Without it, you may encounter data corruption, errors, and other issues that are difficult to debug. Time synchronization can help ensure your logs are being recorded in the correct order, and that database updates are appropriately applied.

Ubuntu 24.04 includes built-in time synchronization enabled by default using systemd-timesyncd (often referred to as timesyncd). For more advanced or production use cases, chrony is a modern alternative that offers improved accuracy and reliability.

In this article, you will practice common time-related commands, review how the system clock and hardware clock (RTC) work together, verify that Ubuntu’s default systemd-timesyncd service is active, and install and configure chrony as an alternate network time synchronization service.

Key Takeaways

  • Ubuntu uses systemd-timesyncd as the default time synchronization service, providing a simple and lightweight solution for maintaining accurate system time.
  • The timedatectl command is the central tool for managing time settings, allowing you to check synchronization status, configure time zones, and enable or disable NTP services.
  • Linux systems rely on both the hardware clock (RTC) and the kernel system clock, with the RTC providing initial time at boot and the system clock being continuously corrected during runtime.
  • Network Time Protocol (NTP) services such as timesyncd and chrony gradually adjust the system clock to ensure accuracy without causing abrupt changes that could disrupt running processes.
  • chrony is a more advanced and reliable alternative to timesyncd, offering better accuracy, faster synchronization, and improved handling of unstable networks and virtualized environments.
  • Time zone configuration can be managed using timedatectl or dpkg-reconfigure tzdata, and systems typically keep the hardware clock in UTC even when displaying local time.
  • Only one time synchronization service should run at a time, as running multiple services like timesyncd, chrony, or ntpd simultaneously can lead to conflicts and inconsistent system time.
  • Most time synchronization issues can be diagnosed using timedatectl, service status checks, and network verification, with common causes including inactive services, blocked network access, or misconfigured settings.

Prerequisites

Before starting this tutorial, you will need an Ubuntu server with a non-root, sudo-enabled user and a firewall, as described in this Initial Server Setup with Ubuntu tutorial.

To view the time on your server, you will use the command date. Any user can run this command to print out the date and time:

  1. date

Typically, your server will generate an output with the default UTC time zone.

Output
Mon Mar 23 06:00:45 UTC 2026

UTC is Coordinated Universal Time, the time at zero degrees longitude. While this may not reflect your current time zone, using Universal Time prevents confusion when your infrastructure spans multiple time zones.

If you want to change your time zone, you can use the timedatectl command. Ubuntu systems typically default to UTC to avoid ambiguity across distributed systems, but you can configure a local time zone if needed.

First, run the following command to generate a list of available time zones:

  1. timedatectl list-timezones

A list of time zones will print to your screen. You can press SPACE to page down, and b to page up. Once you find the correct time zone, make note of it, then type q to exit the list.

Next, you can set the time zone using timedatectl set-timezone, replacing the highlighted portion with your desired time zone found in the list. You’ll need to use sudo to make this change:

  1. sudo timedatectl set-timezone America/New_York

After setting the time zone, you can verify the change by running:

  1. date
Output
Mon Mar 23 02:02:25 EDT 2026

The time zone abbreviation will reflect the newly chosen value.

As an alternative, Ubuntu also provides an interactive configuration tool:

  1. sudo dpkg-reconfigure tzdata

This command opens a text-based interface that allows you to select your geographic region and city. It can be useful if you are unsure of the exact time zone identifier.

System clock vs. Hardware clock

In addition to setting the time zone, it is helpful to understand how Linux systems manage time internally. There are two clocks to be aware of:

  • The system clock, which is maintained by the operating system
  • The hardware clock (RTC), which runs independently on the motherboard

The system clock is what your applications and logs use, while the hardware clock keeps time when the system is powered off.

While this distinction is useful, it is also important to understand how these clocks interact during normal system operation and time synchronization.

When your system boots, the Linux kernel initializes the system clock using the time stored in the hardware clock (RTC). At this point, the system time may not be perfectly accurate, since the hardware clock can drift over time.

After boot, a time synchronization service such as systemd-timesyncd or chrony takes over. These services use NTP to query remote time servers and gradually adjust the system clock to match an accurate external reference.

This adjustment does not usually happen as an abrupt change. Instead, NTP clients make small, continuous corrections to avoid disrupting running processes that depend on stable time progression.

Over time, the relationship between these components works as follows:

  • The hardware clock (RTC) provides an initial time at boot
  • The kernel system clock becomes the primary time source for the operating system
  • The NTP service continuously corrects the system clock to keep it accurate

In most configurations, the hardware clock is not frequently updated after boot. Instead, it acts as a fallback reference. Some systems periodically synchronize the hardware clock with the system clock, but this is secondary to NTP-based synchronization.

You can observe this relationship using:

  1. timedatectl

This will display:

  • Local time — the current system time
  • RTC time — the hardware clock time
  • System clock synchronized — whether NTP has adjusted the system clock

For example:

Local time: Mon 2026-03-23 02:03:03 EDT
RTC time: Mon 2026-03-23 06:03:03
System clock synchronized: yes

In this output:

  • The system clock is synchronized via NTP
  • The hardware clock remains in UTC
  • The displayed local time is derived from the system clock and configured time zone

Understanding this relationship helps explain why:

  • Time may briefly appear incorrect immediately after boot
  • NTP synchronization improves accuracy over time
  • Keeping the hardware clock in UTC avoids inconsistencies across environments

This model, RTC at boot, kernel clock during runtime, and NTP for correction, is the foundation of timekeeping on modern Linux systems.

Most modern Ubuntu systems keep the hardware clock set to UTC, even if the system time zone is configured to a local region. This helps avoid issues related to daylight saving time and ensures consistency across systems.

You can check these settings using:

  1. timedatectl

Look for the following fields in the output:

  • Time zone — your configured system time zone
  • RTC in local TZ — whether the hardware clock is using local time

A typical configuration will look like this:

Time zone: America/New_York (EDT, -0400)
RTC in local TZ: no

This means that your system is displaying local time, while the hardware clock remains set to UTC.

Now that you’ve practiced checking the clock and setting time zones, you can confirm that your time is being synchronized properly in the next section.

Controlling systemd-timesyncd with timedatectl

Previously, most network time synchronization was handled by the Network Time Protocol daemon or ntpd. This service connects to a pool of other NTP servers that provide it with constant and accurate time updates.

But now with Ubuntu’s default install, you can use systemd-timesyncd instead of ntpd. systemd-timesyncd works similarly by connecting to the same time servers, but is lightweight and more closely integrated with systemd on Ubuntu.

You can query the status of systemd-timesyncd by running timedatectl with no arguments. You don’t need to use sudo in this case:

  1. timedatectl
Output
Local time: Mon 2026-03-23 02:03:03 EDT Universal time: Mon 2026-03-23 06:03:03 UTC RTC time: Mon 2026-03-23 06:03:03 Time zone: America/New_York (EDT, -0400) System clock synchronized: yes NTP service: active RTC in local TZ: no

This command prints out the local time, universal time (which may be the same as local time, if you didn’t switch from the UTC time zone), and some network time status information. System clock synchronized: yes reflects that the time is successfully synced, and NTP service: active means that systemd-timesyncd is up and running.

If your output shows that NTP service isn’t active, turn it on with timedatectl:

  1. sudo timedatectl set-ntp on

After this, run timedatectl again to confirm the network time status. It may take a minute for the sync to happen, but eventually System clock synchronized: will read yes and NTP service: will show as active.

Installing and Configuring chrony

While systemd-timesyncd works well for many use cases, some environments require more precise and resilient time synchronization. In these cases, you can use chrony, a modern NTP implementation designed to handle variable network conditions, virtualized environments, and systems that are not always continuously online.

Before installing chrony, you need to disable the default systemd-timesyncd service to prevent conflicts between time synchronization services.

First, disable network time synchronization so that systemd-timesyncd stops managing your system clock:

  1. sudo timedatectl set-ntp no

Next, verify that systemd-timesyncd is inactive by running timedatectl again:

  1. timedatectl

In the output, confirm that the NTP service: field reads inactive.

Now update your package index so you install the latest available version from your configured repositories:

  1. sudo apt update

Then install chrony:

  1. sudo apt install chrony

After the installation completes, the chrony service will start automatically. You can confirm that it is running by checking its status:

  1. systemctl status chrony
● chrony.service - chrony, an NTP client/server
     Loaded: loaded (/usr/lib/systemd/system/chrony.service; enabled; preset: enabled)
     Active: active (running) since Mon 2026-03-23 02:46:34 EDT; 12s ago
       Docs: man:chronyd(8)
             man:chronyc(1)
             man:chrony.conf(5)
    Process: 9762 ExecStart=/usr/lib/systemd/scripts/chronyd-starter.sh $DAEMON_OPTS (code=exited, status=0/SUCCESS)
   Main PID: 9771 (chronyd)
      Tasks: 2 (limit: 4655)
     Memory: 1.4M (peak: 2.1M)
        CPU: 60ms
     CGroup: /system.slice/chrony.service
             ├─9771 /usr/sbin/chronyd -F 1
             └─9772 /usr/sbin/chronyd -F 1
            

If everything is working, the output will include active (running).

To check which time sources your system is using, run:

  1. chronyc sources
MS Name/IP address         Stratum Poll Reach LastRx Last sample
===============================================================================
^- alphyn.canonical.com          2   6    17    20    +13ms[  +13ms] +/-  132ms
^- prod-ntp-5.ntp4.ps5.cano>     2   6    17    20  +2952us[+2952us] +/-   74ms
^- prod-ntp-4.ntp4.ps5.cano>     2   6    17    19    +15ms[  +15ms] +/-   84ms
^- prod-ntp-3.ntp1.ps5.cano>     2   6    17    22  -1839us[-7004us] +/-   82ms
^* 139.59.55.93                  2   6    17    22   -520us[-5684us] +/-   18ms
^+ 172-236-180-15.ip.linode>     4   6    17    26  +1450us[+1450us] +/-   47ms
^- inbom5-ntp-001.aaplimg.c>     2   6    17    26   -502us[ -502us] +/-   54ms
^- time.cloudflare.com           3   6    17    26    +24ms[  +24ms] +/-   63ms

This will display a list of time sources along with their status. The ^* symbol indicates the currently selected source, while ^+ indicates additional candidates.

In this output, the first character (^) indicates the source type (NTP), and the second character indicates status. For example, ^* indicates the selected source, while ^- indicates a reachable source that is not currently being used.

For more detailed synchronization information, run:

  1. chronyc tracking
Reference ID    : 8B3B375D (139.59.55.93)
Stratum         : 3
Ref time (UTC)  : Mon Mar 23 06:47:45 2026
System time     : 0.000316560 seconds slow of NTP time
Last offset     : -0.000402412 seconds
RMS offset      : 0.000402412 seconds
Frequency       : 30.981 ppm slow
Residual freq   : -0.000 ppm
Skew            : 67.538 ppm
Root delay      : 0.037341543 seconds
Root dispersion : 0.004759084 seconds
Update interval : 64.5 seconds
Leap status     : Normal

This command shows metrics such as system clock offset and frequency adjustments, which help confirm that your system is synchronizing correctly.

Configuring Time Servers

By default, chrony uses Ubuntu’s NTP pool servers. If you need to use an internal time source or you want to specify a particular set of NTP servers, you can do so by editing chrony’s configuration file.

Open the configuration file with a text editor:

  1. sudo nano /etc/chrony/chrony.conf

In this file, locate the pool directive, which tells chrony which server pool to use:

pool ntp.ubuntu.com iburst

You can replace this value, or add additional sources using server lines. For example:

server time.google.com iburst
server time.cloudflare.com iburst

The iburst option helps chrony make an initial time correction more quickly when the service starts.

After you save your changes, restart the service so it reloads the updated configuration:

  1. sudo systemctl restart chrony

Optional: Allowing Client Access

If you want your system to act as an NTP server for other machines on your network, you can configure chrony to allow incoming client requests.

To do this, add an allow directive for the subnet that should be able to query your server:

allow 192.168.0.0/16

Then restart chrony to apply the change:

  1. sudo systemctl restart chrony

If you are using a firewall, make sure it allows inbound UDP traffic on port 123, which is the standard port used by NTP.

Finally, you can confirm that time synchronization is active:

  1. timedatectl

If everything is working correctly, the output will show that the system clock is synchronized and that an NTP service is active.

Switching to ntpd (Legacy Option)

Note: The ntp package is considered a legacy option on modern Ubuntu systems. For most use cases, chrony is recommended due to its improved accuracy and performance, especially in cloud or virtualized environments.

systemd-timesyncd will work in most circumstances. There are instances, however, when an application may be sensitive to any disturbance with time. In this case, ntpd is an alternative network time service you can use. ntpd uses sophisticated techniques to constantly and gradually keep the system time on track.

Before installing ntpd, you need to turn off systemd-timesyncd in order to prevent the two services from conflicting with one another. You can do this by disabling network time synchronization with the following command:

  1. sudo timedatectl set-ntp no

Verify that time synchronization is disabled:

  1. timedatectl

Check that your output reads NTP service: inactive. This means systemd-timesyncd has stopped. Now you’re ready to install the ntp package with apt.

First, run apt update to refresh your local package index:

  1. sudo apt update

Then, run apt install ntp to install this package:

  1. sudo apt install ntp

ntpd will begin automatically after your installation completes. You can verify that everything is working correctly by querying ntpd for status information:

  1. ntpq -p
Output
remote refid st t when poll reach delay offset jitter ============================================================================== 0.ubuntu.pool.n .POOL. 16 p - 64 0 0.000 0.000 0.000 1.ubuntu.pool.n .POOL. 16 p - 64 0 0.000 0.000 0.000 2.ubuntu.pool.n .POOL. 16 p - 64 0 0.000 0.000 0.000 3.ubuntu.pool.n .POOL. 16 p - 64 0 0.000 0.000 0.000 ntp.ubuntu.com .POOL. 16 p - 64 0 0.000 0.000 0.000 +t1.time.bf1.yah 129.6.15.28 2 u 16 64 1 61.766 -20.068 1.964 +puppet.kenyonra 80.72.67.48 3 u 16 64 1 2.622 -18.407 2.407 *ntp3.your.org .GPS. 1 u 15 64 1 50.303 -17.499 2.708 +time.cloudflare 10.4.1.175 3 u 15 64 1 1.488 -18.295 2.670 +mis.wci.com 216.218.254.202 2 u 15 64 1 21.527 -18.377 2.414 +ipv4.ntp1.rbaum 69.89.207.99 2 u 12 64 1 49.741 -17.897 3.417 +time.cloudflare 10.4.1.175 3 u 15 64 1 1.039 -16.692 3.378 +108.61.73.243 129.6.15.29 2 u 14 64 1 70.060 -16.993 3.363 +ny-time.gofile. 129.6.15.28 2 u 21 64 1 75.349 -18.333 2.763 golem.canonical 17.253.34.123 2 u 28 64 1 134.482 -21.655 0.000 ntp3.junkemailf 216.218.254.202 2 u 19 64 1 2.632 -16.330 4.387 clock.xmission. .XMIS. 1 u 18 64 1 24.927 -16.712 3.415 alphyn.canonica 142.3.100.2 2 u 26 64 1 73.612 -19.371 0.000 strongbad.voice 192.5.41.209 2 u 17 64 1 70.766 -18.159 3.481 chilipepper.can 17.253.34.123 2 u 25 64 1 134.982 -19.848 0.000 pugot.canonical 145.238.203.14 2 u 28 64 1 135.694 -21.075 0.000

ntpq is a query tool for ntpd. The -p flag requests information about the NTP servers (or peers) ntpd is connected to. Your output will be slightly different but will list the default Ubuntu pool servers plus a few others. Remember, it can take a few minutes for ntpd to establish connections.

Comparing systemd-timesyncd, chrony, and ntpd

Ubuntu supports multiple time synchronization services, each designed for different use cases. While all three rely on NTP to synchronize system time, they differ in accuracy, complexity, and suitability for modern environments.

The following table highlights the key differences:

Feature / Capability systemd-timesyncd chrony ntpd (legacy)
Default on Ubuntu Yes No No
Ease of use Very simple Moderate Moderate
Accuracy Good (basic use) High (production-grade) High
Handles network instability Limited Excellent Moderate
Startup synchronization Slower Fast (with iburst) Moderate
Drift correction Basic Advanced and adaptive Advanced
Resource usage Very low Low Higher
Works well in VMs/cloud Basic support Excellent Limited
Can act as NTP server No Yes Yes
Configuration flexibility Minimal High High

In general, systemd-timesyncd is suitable for simple environments where minimal configuration is preferred. For most production, cloud, or latency-sensitive systems, chrony provides better accuracy and resilience. The ntpd service remains available primarily for compatibility with older systems and is no longer the preferred choice for new deployments.

Common Errors and Troubleshooting Steps

Although time synchronization is usually configured automatically, failures can still occur due to issues in configuration, networking, or service behavior. Because Linux timekeeping depends on coordination between the hardware clock (RTC), the kernel system clock, and an NTP synchronization service, problems can arise at different stages in this process.

When troubleshooting, it is helpful to think of timekeeping as a sequence. The system initializes time from the hardware clock during boot, the kernel maintains the system clock during runtime, and an NTP service continuously corrects that clock. If any part of this sequence fails, the system may display incorrect or unstable time.

System Clock Not Synchronized

If timedatectl shows System clock synchronized: no, your system clock is not being corrected by an NTP service and may drift over time.

This issue typically occurs when no synchronization service is active, or when the service cannot reach external time servers. It may also appear briefly after boot before synchronization has completed.

First, check whether a time synchronization service is enabled:

  1. timedatectl

If the NTP service field is inactive and you want to use systemd-timesyncd, enable it:

  1. sudo timedatectl set-ntp on

If you installed chrony, verify that the service is running:

  1. systemctl status chrony

Allow a short period for synchronization to complete, then check the status again.

NTP Service Active but Time Not Updating

If the NTP service is active but the system clock remains unsynchronized, the service is running but unable to obtain valid time data.

This condition is most often caused by network connectivity problems, DNS resolution failures, or firewall restrictions that prevent communication with NTP servers.

Test network connectivity:

  1. ping -c 3 ntp.ubuntu.com

Verify DNS resolution:

  1. getent hosts ntp.ubuntu.com

If either command fails, resolve the underlying network or DNS issue before proceeding.

No Available Time Sources (chrony)

When using chrony, you may find that no usable time sources are available when running chronyc sources.

This typically indicates that chrony cannot communicate with its configured servers due to incorrect configuration, network issues, or unavailable upstream servers.

Inspect the configuration file:

  1. sudo nano /etc/chrony/chrony.conf

Ensure that valid server or pool entries are present, such as:

pool ntp.ubuntu.com iburst

After making changes, restart the service:

  1. sudo systemctl restart chrony

Then verify that sources are now available.

Incorrect Time After Boot

You may notice that the system time is incorrect immediately after boot but corrects itself shortly afterward.

This happens because the system initially reads time from the hardware clock, which may have drifted while the system was powered off. Synchronization begins only after the system has fully started and network connectivity is established.

Wait a few minutes for the NTP service to synchronize the system clock. Then verify the status:

  1. timedatectl

If the time does not correct itself, ensure that the synchronization service is active and functioning.

Large Time Drift or Slow Correction

If the system time is significantly incorrect, synchronization may appear slow or gradual.

NTP services typically avoid making large, abrupt changes to the system clock. Instead, they gradually adjust the time to prevent disruptions to running processes.

If the time difference is large, manually set an approximate value:

  1. sudo timedatectl set-time "2026-03-23 10:00:00"

Then re-enable synchronization and allow the NTP service to refine the time.

Conflicts Between Time Synchronization Services

If multiple time synchronization services are running simultaneously, the system clock may behave unpredictably.

This usually occurs when systemd-timesyncd, chrony, or ntpd are all active at the same time, causing conflicting adjustments.

Disable one service before enabling another:

  1. sudo timedatectl set-ntp no

Then start your preferred service:

  1. sudo systemctl enable --now chrony

Ensure that only one service manages time synchronization.

Firewall or Network Blocking NTP

If your system cannot reach external time servers, synchronization will fail.

This is typically due to outbound UDP traffic on port 123 being blocked by a firewall or network policy.

Allow outbound NTP traffic:

  1. sudo ufw allow out 123/udp

Also verify any external restrictions, such as cloud security groups or corporate firewall rules.

Time Drift in Virtual Machines

In virtualized environments, the system clock may drift or behave inconsistently.

The guest system’s clock may be influenced by the host or hypervisor, especially if both attempt to manage time independently.

Ensure that the host system is properly synchronized and avoid running multiple synchronization mechanisms within the guest. In these environments, chrony is generally preferred because it handles drift more effectively.

Hardware Clock Misconfiguration

If the system time resets or behaves inconsistently after reboot, the hardware clock may be misconfigured.

This often occurs when the hardware clock is set to local time instead of UTC, or when it has drifted significantly.

Check the current configuration:

  1. timedatectl

Ensure that RTC in local TZ is set to no. Keeping the hardware clock in UTC avoids issues with daylight saving time and ensures consistent behavior across systems.

FAQs

1. What is the default time synchronization service in Ubuntu?

Ubuntu 24.04 uses systemd-timesyncd as the default time synchronization service. It is a lightweight NTP client that is enabled automatically on most installations and requires little to no configuration. While it is sufficient for basic timekeeping, it does not provide the advanced features or flexibility offered by alternatives like chrony.

2. How do I check if time synchronization is active on Ubuntu?

You can check whether time synchronization is active by running:

  1. timedatectl

In the output, look for the fields System clock synchronized and NTP service. If both show positive values (for example, yes and active), it indicates that your system clock is being synchronized with an external time source.

3. What is the difference between timesyncd and chrony?

systemd-timesyncd is designed to be simple and lightweight, making it suitable for systems that require basic time synchronization with minimal configuration. It runs as part of systemd and is sufficient for many standard use cases.

chrony, in contrast, is a more advanced and feature-rich implementation. It provides faster and more accurate synchronization, better handling of network instability, and greater configuration flexibility. For these reasons, chrony is generally preferred for production systems, cloud environments, and systems with stricter accuracy requirements.

4. How do I change the time zone on Ubuntu from the command line?

You can change the system time zone using the timedatectl command. First, list the available time zones:

  1. timedatectl list-timezones

Then set your desired time zone:

  1. sudo timedatectl set-timezone Region/City

For example:

  1. sudo timedatectl set-timezone Asia/Kolkata

This updates the system’s time zone immediately, and the change will be reflected in commands such as date and timedatectl.

5. Why does my Ubuntu server show “NTP synchronized: no” in timedatectl output?

When timedatectl shows System clock synchronized: no, it means that your system clock is not currently being corrected by an NTP service. This can happen if no synchronization service is running, if the service cannot reach external time servers due to network or DNS issues, or if the system has recently booted and synchronization has not yet completed. In most cases, verifying the NTP service status and network connectivity will help resolve the issue.

6. Can I run chrony and timesyncd at the same time?

No, it is not recommended to run chrony and systemd-timesyncd at the same time. Both services attempt to control and adjust the system clock, which can lead to conflicting updates and unstable timekeeping. You should disable one service before enabling the other to ensure consistent and predictable synchronization.

7. What NTP stratum level should my server reach?

Most servers synchronize with stratum 2 or stratum 3 time sources, which provide sufficient accuracy for general system and application needs. Lower stratum levels indicate closer proximity to a primary reference clock, but for most environments, stratum 2–3 offers a good balance between accuracy and reliability. Extremely low stratum levels are typically only required in specialized or high-precision systems.

8. Does Ubuntu 24.04 support NTS (Network Time Security)?

Yes, Ubuntu 24.04 supports Network Time Security (NTS) through chrony, provided that both the client and the NTP server support it. NTS adds encryption and authentication to NTP communication, helping protect against spoofing and tampering. However, it requires additional configuration and compatible servers, and it is not enabled by default on most systems.

Conclusion

In this article, you used common tools to inspect your server’s time settings, configure a time zone, and understand the relationship between the system clock and the hardware clock (RTC). You also verified that Ubuntu’s default time synchronization (systemd-timesyncd) is working, and you installed and validated chrony as an alternative NTP implementation for more advanced use cases, including customizing time sources and (optionally) allowing client access.

To continue learning, you can review the chrony documentation for configuration details such as NTS (Network Time Security), and you can reference the NTP Pool Project to better understand how public time servers are organized.

For more Ubuntu-related tutorials, check out the following articles:

Thanks for learning with the DigitalOcean Community. Check out our offerings for compute, storage, networking, and managed databases.

Learn more about our products

Still looking for an answer?

Was this helpful?


This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Hi! I was wondering that if I set my timezone to America/New_York – using the method you described here – if my timezone will automatically update to standard time (EST) in the fall/winter when appropriate and then back to daylight time (EDT) in the spring/summer?

Thanks for this content. Won’t a droplet automatically have system time set correctly because it’s getting the time from the server running the droplet’s hypervisor?

If you’re behind a firewall or proxy, make sure UDP port 123 is open for NTP

Creative CommonsThis work is licensed under a Creative Commons Attribution-NonCommercial- ShareAlike 4.0 International License.
Join the Tech Talk
Success! Thank you! Please check your email for further details.

Please complete your information!

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.