FEEL

temporal literals @"…"

FEEL language construct

@"2026-07-01" · @"P3D" · @"10:30:00"

The @ prefix turns an ISO 8601 string into a date, time, date and time or duration literal without a constructor call. It is shorter than date("…") and, unlike the function form, is recognised at parse time, so a malformed literal is caught by the parser rather than yielding null at runtime.

Syntax elements

ElementTypeDescription
@"date"dateISO date, @"2026-07-01"
@"duration"durationISO 8601 duration, @"P3D" or @"P1Y6M"

Examples

@"2026-07-01"
2026-07-01 Try it ↑
@"P3D"
@"2026-07-01T10:00:00"
2026-07-01T10:00 Try it ↑
@"2026-07-01" + @"P1D"
2026-07-02 Try it ↑

Related constructs

arithmetic operators · range / interval

Related functions

date · duration · date and time · time

Defined by the OMG DMN 1.6 specification, chapter 10.3 (the FEEL grammar and semantics).