Clock card

The time in large digital, analog, words, flip, lamps, rings or ruler faces, with date and other cities.

The screen shows the time in huge, clear figures made to be read from across a room. It fills the screen, sits in the middle, tucks into a corner, runs as one line or stretches as a band along an edge. You choose the face from digital, analog, words, flip cards, lamps, rings or a ruler, pick 12-hour, 24-hour or military time, add seconds and a date, and set a time zone and strip style.

Live card

This card is drawn in your browser by the same code the Players run, and shows your own time.

Category: Time. Tags: Clocks and calendars, Offices and workplaces, Lobbies and reception, Stores.

Data and privacy

This card uses its configured properties and live card data.

Properties

For theme, background, accent, colour overrides and position, see Common properties.

Static properties

NameTypeDefaultValues and limitsDescription
facestring"digital""digital", "analog", "words", "flip", "sets", "rings", "ruler"
hourCyclestring"24""12", "24", "military"12: 2:05 PM. 24: 14:05. military: 1405, four digits with no separator (and HRS when the suffix shows).
showSecondsbooleanfalse
showSuffixbooleantrueThe AM or PM beside a 12-hour time, or HRS beside military time.
showDatebooleantrue
dateFormatstring"long""long", "short", "numeric"
timeZonestring, nullnullIANA zone; null uses the screen's zone.
labelstring""maxLength: 40
stripStylestring"timeline""timeline", "sweep", "zones", "week"What fills a strip beside the time. timeline: the day as a ruler with a now marker, daylight and the part gone. sweep: the time centred with a fill that crosses the strip each minute. zones: the cities in zones as compact cells. week: weekday, date, ISO week and day of the year.
zonesarray[]maxItems: 4Other cities for the zones strip, two to four.
zones[].labelstringminLength: 1; maxLength: 24; Required
zones[].timeZonestringminLength: 1; maxLength: 64; RequiredIANA zone.
locationobject, nullnulladditionalProperties: falseWhere the clock is. The timeline strip shades night between sunset and sunrise there; without it the day runs 6:00 to 18:00.
location.latitudenumberminimum: -90; maximum: 90; Required
location.longitudenumberminimum: -180; maximum: 180; Required

Dynamic properties

This card has no dynamic properties.

Example params

{
  "theme": "neomustard",
  "location": {
    "latitude": 49.25,
    "longitude": -123.0
  }
}
screenrig card create --type clock --major 1 --file params.json

Layouts

This core card fits every layout: full screen, center, wide, corner, chip, strip, or any free rectangle.

Layouts: full, center, wide, corner, chip, strip. Forms: landscape, portrait, square, strip.

Use this card

Add this card to a playlist as in Publish a card canvas and place it with the layouts and anchors.