Skip to content

Digital Clock Widget

A bold digital clock with optional date and seconds — ticks every second and supports 12 or 24 hour format. Customize the time zone, theme, and display options through query-string parameters and copy the iframe snippet to embed it on any page.

Embed code

Copy and paste the snippet below. Change tz= to any IANA time zone (for example America/New_York, Asia/Tokyo, or UTC).

<iframe
  src="https://timedate.now/widgets/digital-clock/embed/?tz=Europe/London&theme=light"
  width="400"
  height="220"
  style="border:0"
  loading="lazy"
></iframe>

Parameters

NameTypeDescription
tz IANA zone The time zone to display. Defaults to UTC. See all IANA zones.
theme light or dark Color scheme. Defaults to the visitor's system preference.
label 0 or 1 Set to 0 to hide the time-zone label. Defaults to 1.
format <code>12</code> or <code>24</code> Hour format. Defaults to 24.
seconds <code>0</code> or <code>1</code> Show or hide seconds. Defaults to 1.
date <code>0</code> or <code>1</code> Show the long date below the clock. Defaults to 1.

Tips

Looking for the live (non-embed) version? Browse the world clock or pick any city for a full page with sun, moon, and calendar.

Related tools

Widget pages should connect both to the embed directory and to the live reference pages they extend.