HTML clock widget with the time of any city
This page makes an HTML clock widget that shows the current time and the date of the city you choose. Set it up in the form above, click "Embed on your website" and paste the short code into your page. It costs nothing, and you can add as many clocks as you need.
Start with the city. Type its name or the name of the country in the time zone field and pick it from the list. The title above the clock is filled in for you, and you can change it to something like "Our office in Berlin" or "Support hours". Then choose the language of the date, the color of the text, the digits and the background. The width can follow the size of the page, or you can set it from 240 to 1200 pixels.
Clock widget for website owners and teams
A clock widget for website visitors helps whenever people live in different time zones. An online shop shows when the support line is open. A hotel or a travel blog shows the time at the destination. A remote team puts the clock of the main office on its internal page, so nobody has to count hours in their head before a call.
The HTML clock widget keeps the right time on its own. It follows the time zone of the city, including the change to daylight saving time and back, so you set it once and forget about it.
How to add the HTML clock to your website
Copy the code from the box that opens after the click and paste it where the clock should appear. Most site builders have a block for your own HTML, for example the Custom HTML block in WordPress, Embed code in Wix or the HTML/JavaScript gadget in Blogger. The code is short and loads quickly, the clock fits phone screens, and a small square in its corner opens it in full screen.
World clock for website with several cities
To build a world clock for your website, make one code for each city and put them next to each other, for example New York, London and Tokyo. Every clock keeps its own time zone, and a page can hold any number of them.
Questions about the HTML clock
Does the clock change to daylight saving time?
Yes. The time comes from the time zone of the chosen city, so the clock moves forward and back by itself.
Can I change the clock after it is on my site?
Make a new code with other settings in the form above and put it in place of the old one.
Which languages can the date be in?
The date under the clock can be shown in 37 languages. Pick one in the language field before you copy the code.