The website 'https://time.is/' most likely uses a technique called Network Time Protocol (NTP) to synchronise its clock with an accurate time source.
NTP is a protocol designed to synchronize the clocks of computers over a network. It works by exchanging time messages between the client (in this case, the website) and a server that is known to have an accurate clock. The client sends a request to the server, which responds with a timestamp of when the request was received. The client can then calculate the time it took for the message to travel between the two devices, and use that information to adjust its own clock accordingly.
There are many NTP servers available on the internet that provide accurate time, including government agencies, universities, and private organisations. The website 'https://time.is/' likely uses one or more of these servers to obtain accurate time information, and then displays that information on the website for users to see.
It's also worth noting that some modern operating systems have built-in support for NTP, so the computer's clock may also be synchronised with an accurate time source automatically. However, this may not always be the case, and using a website like 'https://time.is/' can provide an additional level of accuracy and verification.