

Step 4 – Activate/Deactivate Time Synchronization You should see the following output: Local time: Thu 01:08:41 AST Now, verify the time zone with the following command: timedatectl Next, you can set the time zone using the timedatectl set-timezone command.įor example, set your server’s time zone to America/Antigua as shown below: timedatectl set-timezone America/Antigua You should see the long list of available time zones in the following screen: If you’re not sure about your time zone, you can list the available time zones with the following command: timedatectl list-timezones If you want to change your server’s time zone settings, you can also set it using the timedatectl command. Status: "Synchronized to time server 91.189.94.4:123 ()."ĬGroup: /system.slice/rviceįeb 06 01:25:58 ubuntu1804 systemd: Starting Network Time Synchronization.įeb 06 01:25:58 ubuntu1804 systemd: Started Network Time Synchronization.įeb 06 01:25:58 ubuntu1804 systemd-timesyncd: Synchronized to time server 91.189.94.4:123 (). Loaded: loaded (/lib/systemd/system/rvice enabled vendor preset: enabled)Īctive: active (running) since Thu 01:25:58 AST 2min 39s ago You can also check the status of the time synchronization service with the following command: systemctl status rvice In the above output, you should see that the time synchronization is activated and your configured time zone is Etc/UTC. You should get the following output: Local time: Thu 05:04:49 UTC Next, you can check whether the time on your servers is activated and whether your server is synchronized with correct time zone using the timedatectl command: timedatectl You should see the following output: Thu Feb 6 04:56: You can run the date command, as shown below, to show your server’s current time and date: date The easiest way to find your server’s current date and time is date command.
#Utc clock ubuntu update
apt-get update -y Step 2 – Verify Your Current Time, Date and Time Zone Once you are logged into your Ubuntu 18.04 server, run the following command to update your base system with the latest available packages. Connect to your Cloud Server via SSH and log in using the credentials highlighted at the top of the page. Create a new server, choosing Ubuntu 18.04 as the operating system with at least 1GB RAM. Step 1 – Create an Atlantic.Net Cloud Serverįirst, log in to your Atlantic.Net Cloud Server.

#Utc clock ubuntu password

Time is never updated, it relies on external facilities to maintain it. With time zone changes and daylight saving time adjustments. Warning: The system is configured to read the RTC time in the local time zone. Time zone: Europe/Bucharest (EEST, +0300)

TimedatectlWhich should display the following "RTC in local TZ: yes". You can then check if Ubuntu uses local time, you can then use the following command: So this is not recommended and if you can, you should use method B., and fix this from Windows.įor Ubuntu 16.04 and newer, run the following command (thanks to Erwinson Pagtalunan for the update!): Before proceeding, note that according to the Ubuntu wiki, " the advantage of having the hardware clock as UTC is that you don't need to change the hardware clock when moving between timezones or when Daylight Savings Time (DST) begins or ends as UTC does not have DST or timezone offsets".
