schedule
Date Utilities
Countdown
Live Preview
Countdown to Christmas!
12
days
12
hours
12
minutes
12
seconds

Countdown Ended

Countdown

This element dynamically shows the missing time to a fixed date.

The element that will be dynamically updated is the one with class [<span class="class-tag">]countdown[</span>] in your navigator. It is marked with the custom attribute, do not remove it!

Name
countdown-widget
Value
2022-12-25T12:00:00Z

The value is the ending date of the countdown expressed in UTC format.

Along the widget wrapper you will find other subparts:

Countdown Wrapper

This element wraps all the time related subparts where you can add days, hours, minutes and seconds. It is defined by the attribute:

Name
countdown
Value
wrapper

Inside this wrapper you will find several elements:

Days

Days left to the end of the countdown

Name
countdown
Value
days
Hours

Hours left to the end of the countdown

Name
countdown
Value
hours
Minutes

Minutes left to the end of the countdown

Name
countdown
Value
minutes
Seconds

Seconds left to the end of the countdown

Name
countdown
Value
seconds

You can use all elements or not, the choice is up to you! The countdown will automatically adjust itself to the proper data.

E.g: if you have the days element, hours will count up to 24.

Countdown End

This element will be visible only when the countdown is expired, you can add everything you want inside this element, that is defined with the attribute:

Name
countdown
Value
end
Current Year
1999
Live Preview

Dynamic Year

This element dynamically shows the currenty year, in this way you are not forced to update the date manually every time.

The element that will be dynamically updated is the one with class [<span class="class-tag">]current-year[</span>] in your navigator. It is marked with the custom attribute, do not remove it!

Name
date
Value
current-year
Current Date
Live Preview
localized date
Default Settings

Current Localized Date

This element dynamically shows the current date localized in the browser format.

The element that will be dynamically updated is the one with class [<span class="class-tag">]current-date[</span>] in your navigator. It is marked with the custom attribute, do not remove it!

Name
date
Value
current

The widget can be further configured with different custom attributes, see below for further configurations

localized date
Live Preview
Date Style / Full

Can be obtained by applying the following custom attribute:

Name
data-date-style
Value
full

The possible values for this attribute are:

  • [<span class="class-tag">]full[</span>]
  • [<span class="class-tag">]long[</span>]
  • [<span class="class-tag">]medium[</span>]
  • [<span class="class-tag">]short[</span>]
localized date
Live Preview
Date Style / Long

Can be obtained by applying the following custom attribute:

Name
data-date-style
Value
long

The possible values for this attribute are:

  • [<span class="class-tag">]full[</span>]
  • [<span class="class-tag">]long[</span>]
  • [<span class="class-tag">]medium[</span>]
  • [<span class="class-tag">]short[</span>]
localized date
Live Preview
Date Style / Medium

Can be obtained by applying the following custom attribute:

Name
data-date-style
Value
medium

The possible values for this attribute are:

  • [<span class="class-tag">]full[</span>]
  • [<span class="class-tag">]long[</span>]
  • [<span class="class-tag">]medium[</span>]
  • [<span class="class-tag">]short[</span>]
localized date
Live Preview
Date Style / Short

Can be obtained by applying the following custom attribute:

Name
data-date-style
Value
short

The possible values for this attribute are:

  • [<span class="class-tag">]full[</span>]
  • [<span class="class-tag">]long[</span>]
  • [<span class="class-tag">]medium[</span>]
  • [<span class="class-tag">]short[</span>]
localized date
Live Preview
Year / 2-digit

Can be obtained by applying the following custom attribute:

Name
data-year
Value
2-digit

The possible values for this attribute are:

  • [<span class="class-tag">]numeric[</span>]. E.g: 2022
  • [<span class="class-tag">]2-digit[</span>] E.g: 22
localized date
Live Preview
Month / Long

Can be obtained by applying the following custom attribute:

Name
data-month
Value
long

The possible values for this attribute are:

  • [<span class="class-tag">]long[</span>]. E.g: March
  • [<span class="class-tag">]short[</span>] E.g: Mar
  • [<span class="class-tag">]narrow[</span>] E.g: M
  • [<span class="class-tag">]numeric[</span>]. E.g: 3
  • [<span class="class-tag">]2-digit[</span>]. E.g: 03
localized date
Live Preview
Weekday / Long

Can be obtained by applying the following custom attribute:

Name
data-weekday
Value
long

The possible values for this attribute are:

  • [<span class="class-tag">]long[</span>]. E.g: Thursday
  • [<span class="class-tag">]short[</span>] E.g: Thu
  • [<span class="class-tag">]narrow[</span>] E.g: T
localized date
Live Preview
Day / 2-digit

Can be obtained by applying the following custom attribute:

Name
data-day
Value
2-digit

The possible values for this attribute are:

  • [<span class="class-tag">]numeric[</span>]. E.g: 1
  • [<span class="class-tag">]2-digit[</span>] E.g: 01
localized date
Live Preview
Combined / Day & Weekday

Can be obtained by applying the following custom attributes:

Name
data-weekday
Value
long
Name
data-day
Value
2-digit

Naturally this is just an example, you can combine Year, Month, Weekday and Day attributes as you wish

Current  Time
Live Preview
Default Settings
Current Time

Current Localized Time

This element dynamically shows the current date localized in the browser format.

The element that will be dynamically updated is the one with class [<span class="class-tag">]current-time[</span>] in your navigator. It is marked with the custom attribute, do not remove it!

Name
date
Value
current-time

The widget can be further configured with different custom attributes, see below for further configurations

Live Preview
TimeZone / Rome
Current Time in Europe Rome

Timezone can be changed to show up time in a specific zone instead of the browser local time, usefull if you want to show up a comparison between your office hours and local time.

Name
data-time-zone
Value
Europe/Rome

The possible values for this attribute are timezone names included in the Time Zone Database (iana.org)

For example:

[<span class="class-tag">]America/New_York[</span>]

[<span class="class-tag">]Asia/Shanghai[</span>]

Live Preview
Hour/2-digit
Current Time in Europe Rome

You can change the hour format by using the following attribute:

Name
data-hour
Value
2-digit

The possible values for this attribute are:

  • [<span class="class-tag">]numeric[</span>]. E.g: 3
  • [<span class="class-tag">]2-digit[</span>]. E.g: 03
Live Preview
Hour12/false
Current Time in Europe Rome

Whether to use 12-hour time (as opposed to 24-hour time).

Name
data-hour12
Value
false

The possible values for this attribute are:

  • [<span class="class-tag">]true[</span>]. E.g: 15
  • [<span class="class-tag">]false[</span>]. E.g: 03
Live Preview
Minute/2-digit
Current Time in Europe Rome

You can change the minute format by using the following attribute:

Name
data-minute
Value
2-digit

The possible values for this attribute are:

  • [<span class="class-tag">]numeric[</span>]. E.g: 3
  • [<span class="class-tag">]2-digit[</span>]. E.g: 03
Live Preview
Second/2-digit
Current Time in Europe Rome

You can change the seconds format by using the following attribute:

Name
data-second
Value
2-digit

The possible values for this attribute are:

  • [<span class="class-tag">]numeric[</span>]. E.g: 3
  • [<span class="class-tag">]2-digit[</span>]. E.g: 03
Live Preview
Combined / Timezone, Minute, Hour, Hour12
Current Time in Europe Rome

Can be obtained by applying the following custom attributes:

Name
data-time-zone
Value
Europe/Rome
Name
data-minute
Value
2-digit
Name
data-hour
Value
2-digit
Name
data-hour12
Value
false

Naturally this is just an example, you can combine Timezone, minute, hour, hour-12, and seconds attributes as you wish