Swiss clock Webcomponent

Posted: 23 Jan 2024. Last modified on 08-Feb-25.

This article will take about 1 minute to read.



Switzerland is known for its punctuality. To facilitate this, Swiss railway clocks have an ingenious way of synchronizing so that all of the trains are able to leave exactly on the minute.

The second hand of the clock will go all the way around in only 58.5 seconds, then it will wait at the 12 o’clock position until it receives a signal from the master clock. This ensures the the clocks in every railway station show the same time.

You can see an implementation of the swiss clock here, as a webcomponent.



Cooking VanillaJS