Turning number (or value of a number-datafield) such as “14” into an ordinal word (“fourteenth”) can be done through the
@ord special function.
Currently there is no special function to construct a date on the basis of numbers, but we will add a function
@construct-date so that
@construct-date(2020, 4, 12) will result in a true date (which you can then insert in the contract, or do further calculations with).
I will also a
@month special function, so that
@month(4) would result in “April” in English or “avril” in French, etc.
You can expect these special functions later this week.