how can I calculate the difference between the dates? For example, between the date of creation of the case and the closing date
1 Like
Hi @megoso
Thanks for your question.
That should probably be done by creating a new field with a field value expression in the same module as your startDate and endDate. Field value expressions are available for all field types in Corteza.
Kind regards,
Niall
Relevant docs for expressions
https://docs.cortezaproject.org/corteza-docs/2024.9/integrator-guide/expr/fnc-reference.html#_date_and_time_functions