Timestamp

Displays a timestamp using Astryx's locale-aware date, time, and relative formats. Use Text for surrounding typography.

ParameterDescription
valueISO 8601 timestamp string or numeric Unix timestamp in seconds or milliseconds.
formatAstryx display format. Defaults to auto: relative for recent timestamps and date_time for older ones. Use date for a readable date such as Sep 30, 2026.
ifConditional rendering expression.

Example

xml
<Timestamp value="$item.created_at" format="date" />

Cli

longlink docs ui --component Timestamp