Skip to content

HTMLTimeElement

Generated from idl/html-elements.webidl when the site was built at 7aa23e2.

HTMLTimeElement is an interface in idl/html-elements.webidl, inheriting HTMLElement, exposed in Window. What it does is on MDN; this page says what niso has of it.

Inside a surface, a <time> with data-timer-start or data-timer-end (ms since the Unix epoch) is the platform’s self-updating timer, as long as it is a box of its own.

The web features its members belong to, each with its Baseline status on the web and how much of the feature’s WPT suite passes in niso (see Web platform support).

Feature On the web In niso Members
<time> Widely available Partial 50% 4 of 8 subtests pass 1
constructor
[HTMLConstructor] constructor();

Members the web has, by the BCD keys web-features 3.45.0 lists, that idl/ doesn’t declare. The list is partial: web-features lists only the keys it maps to a feature.

  • dateTime (<time>)