Here is a screenshot and an expression using the function for your reference.
Please change ${baseDate} to any value you get from Module etc. {{(formatDate({{now}}; X) {{-}} formatDate(${baseDate}; X)) {{/}} 86400
Thanks. I get this error :
Cannot initialize the scenario because of the reason ‘Scenario validation failed - 1 problem(s) found.’ - Invalid reference in filter ‘0-2’ on link ‘fin’: Invalid IML.