What is a Compute a date dimension ?
This kind of dimension enriches your card with data, like any other dimension. But the value on a card is not chosen manually in the card edition dialog, but is the result of a computation involving values provided by other dimensions on your card.
Example
Let's say that you have a number dimension called Due date, and you'd like to compute another date, e.g. 3 days before deadline. The formula might be the following:
_.due_date - P3D
The expression language
The expression language uses Elo, that can be used to compute any date you'd like. In those expressions:
_denotes the current card, on which the computed value applies,_.xxxdenotes the card value along the dimension whose name isxxx(insnake_caseformat ; if your dimension is namedDue date, the variable isdue_date)NOW,TODAYare constants with obvious date & time semanticsD2026-03-26is a date literalSODmeansStart Of Day;EODmeansEnd Of DaySOW/EOW,SOM/EOM,SOY/EOYcan be used similarly for weeks, months and years- Elo also supports durations, such as
P1MT2H(1 month and 2 hours). Check the language reference.
How to find the dimension codes ?
In the formula editor, pressing _. should provide you with a suggestion showing the list of dimensions :

For a particular dimension, you'll find the code to use in formulas in the General panel when editing it :

Where to get help ?
Writing formulas is always a bit difficult for non-tech. Jump on our Klarocardistas community to get immediate help.
Going further
- Starting with Klaro Cards 0.259.0, Klaro Cards uses Elo which is simple, clean and powerful. The documentation online is certainly worth a read.
- For business instances on earlier versions, Klaro Cards still uses the Livescript language.