Date & Time
Built Configurable
Current date, time, and calendar values. Supports timezone configuration and format patterns.
| Module type | datetime |
|---|---|
| Default expression ID | dt |
| Refresh rate | Per render tick |
| Required config | timezone |
Declaration
<module type="datetime" id="dt" timezone="Europe/Oslo" /> Properties
Reference any of these from a template via
{dt:propertyName}.
| Name | Description | Example | Format arg |
|---|---|---|---|
time | Current time | 14:30 | Yes |
date | Current date | 2026-03-24 | Yes |
weekday | Day of week name | Monday | — |
hour | Hour (0-23) | 14 | — |
minute | Minute (00-59) | 30 | — |
second | Second (00-59) | 45 | — |
year | Four-digit year | 2026 | — |
month | Month number (1-12) | 3 | — |
dayOfMonth | Day of month (1-31) | 24 | — |
timestamp | Unix epoch seconds | 1774569600 | — |
Events
| Trigger | Description |
|---|---|
| On each render tick | Re-evaluated every render cycle |