Skip to main content

Time Periods

Time periods are numbers suffixed with a time unit. Periods with no formatter suffix default to seconds.

In some contexts, oo can be used to indicate an infinite time period.

SuffixDuration
dDay
hHour
mMinute
sSecond

Examples

<!-- 5 minutes -->
<time>5m</time>

<!-- Combine multiple units for a more specific timing -->
<time>8m20s</time> <!-- Identical to 500s -->