.dcss-utc-<interval>-<op>

Rounds a UTC time down, up or to the nearest interval, moves it by intervals, or counts the intervals between two times.

Example

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

<span class="dcss-utc-day-floor" style="--value: 1700000000000">
<output class="dcss-format-fixed" style="--value: var(--dcss-utc-day); --precision: 0"></output></span>

Browser support

BrowserSupport
ChromeYes
SafariYes
FirefoxWhole numbers only

See also