Timestamp
Displays a timestamp using Astryx's locale-aware date, time, and relative formats. Use Text for surrounding typography.
| Parameter | Description |
|---|---|
| value | ISO 8601 timestamp string or numeric Unix timestamp in seconds or milliseconds. |
| format | Astryx 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. |
| if | Conditional rendering expression. |
Example
xml<Timestamp value="$item.created_at" format="date" />
Cli
longlink docs ui --component Timestamp