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.
I just implemented the function @weekday, that will return the day of the week for the specified date, in the current language. For example, today, in English, @weekday(@today) or @weekday(2021_1_6) would return “Monday” for today.
This new function will show up on the servers tomorrow.