I have defined a field called current_date
and a field called after_days
. I want to add the vale in after_days
to current_date
to get future date and store it in a field.
How to do this in Modules at field level?
Is this setting correct?
I have defined a field called current_date
and a field called after_days
. I want to add the vale in after_days
to current_date
to get future date and store it in a field.
How to do this in Modules at field level?
Is this setting correct?
The functions here should help you achieve that (now, modDate) and so on
https://docs.cortezaproject.org/corteza-docs/2023.9/integrator-guide/expr/fnc-reference.html#_now
Can you calculate an earlier date with modDate? Use a negative number for the modifier?
As far as I know yes. You can try it and see.
It worked. modDate(date, numDays) with a negative number for numDays will give you an earlier date.