timedatectl

How to set and keep the exact time in sync on your Debian computer using systemd-timesyncd

botond published March 2024, 01, Thu - 18:20 time
In the world of modern information technology, the use of accurate time is a critical aspect. In today's Linux operating systems, there are many solutions to ensure that our system's clock is always synchronized with world time. In this short description, we will see how to set the date, the exact time and our time zone manually, and how to activate time synchronization with the Internet.

timedatectl

The manual page and help for the timedatectl linux command. The timedatectl command is an administrative tool on Linux systems using systemd that allows you to manage time and date settings. systemd is a system and service manager for Linux systems, and timedatectl is one of its core tools.

NTP

botond published 2018. 04. 30., h - 09:47 time
Introducing NTP (Network Time Protocol) in the encyclopedia. NTP (Network Time Protocol), network time protocol in Hungarian, is a network protocol for synchronizing computer clocks. The purpose of NTP is to synchronize all computers using the protocol with the Conventional Coordinated Universal Time in a fraction of a second. It uses a modified version of Marzullo's algorithm to select accurate time servers and aims to mitigate the effects of varying network latency. The protocol is usually able to maintain synchronization on the Internet in a few hundredths of a second, and on local networks (under ideal conditions) the synchronization time can reach a speed of one thousandth of a second.