Timestamp

timestampRecords and data

A machine-readable time in the format the reader needs. Hover or focus shows local time and UTC, so a relative time never hides the exact one.

bunx --bun shadcn@4.17.0 add @waimakers/timestamp
Kit dependencies
utilsthemetooltip
npm dependencies
None

From the registry

Machine-readable time with relative, date and datetime formats. SSR emits deterministic UTC text; hydration enables local and relative formatting, refreshed each minute. A focusable tooltip shows local time and UTC.

Examples

Formats

Relative, date, date and time, and time. The server renders UTC; the browser swaps in the reader's locale.

relative
date
datetime
time

Time zone and precision

Pin a time zone for scheduled work, and drop seconds where they add noise.

Digest sends at
Amsterdam
Standup in
Auckland

In an audit log

Relative times scan quickly in a list of events. Tab to one to read the exact time.

  • Anna gave Meeting scribe the Slack skill
  • Joost paused Inbox triage
  • Tamar created Release notes

Not set

An invalid or missing value reads as Not set instead of Invalid Date.

Last run: Not set