<kern-time>
Time of day („06:30“) or duration („1 Std., 23 Min.“) as <time>. Set either value or duration. Invalid values are shown as given.
Examples
Time of day
value takes HH:mm[:ss], or a point in time whose time is shown. seconds adds seconds, hour12 forces the 12-hour clock, and mono uses monospace digits.
Durations
duration takes an ISO 8601 duration (PT1H23M) or a number of seconds, e.g. a device's sys.uptime. It takes precedence over value.
Properties
durationnumber | string | undefined
ISO 8601 duration (PT1H23M) or seconds (5025, e.g. uptime). Takes precedence over value.
hour12boolean | undefined
12-hour clock; defaults to the locale.
localestring | undefined
BCP 47 locale; defaults to <html lang>, then the browser language.
monoboolean
Monospace digits, e.g. in tables next to IDs.
secondsboolean
Show seconds of a time of day.
timeZonestring | undefined
IANA time zone for points in time; defaults to the browser's.
valueDate | number | string | undefined
Time of day HH:mm[:ss], or an ISO 8601 point in time / epoch milliseconds / Date whose time is shown.