.dcss-date-format-<specifier>

Prints a UTC time in a format. Each specifier has its own class.

Example

Result
Markup
<link rel="stylesheet" href="dcss.css">
<link rel="stylesheet" href="families/dates.css">

<output class="dcss-date-format-0" style="--value: 1294605000000"></output>
<output class="dcss-date-format-38" style="--value: 1294605000000"></output>

Notes

A format with no letter of its own is a class by number, .dcss-date-format-N: 18 %s.%L, 19 %s.%f, 35 %%, 36 .%L, 37 :%S, 38 %I:%M, 39 %I %p, 40 %a %d.

Browser support

BrowserSupport
ChromeYes
SafariYes
FirefoxWhole numbers only

See also