Skip to main content
All CollectionsAutomationTemplates
How to add days or months to any date smart field in Kolleno templates?
How to add days or months to any date smart field in Kolleno templates?

In templates you can now amend the date smart feld and add in any days to the day

Ron Danenberg avatar
Written by Ron Danenberg
Updated over 7 months ago

How to add days to any date template in Kolleno?

In the templates, there is a smart field to add any number of days/months to any date.

Example:

To add 2 days to the date when the invoice is due:

{{ invoices.0.date_due}} + | + add_days:'2' = {{ invoices.0.date_due|add_days:'2' }}

To add 2 months to a date when the invoice is

{{ invoices.0.month_due}} + | + add_days:'2' = {{ invoices.0.month_due|add_months:'2' }}

See example below:

Invoice Date Due: {{ invoices.0.date_due }} = Dec. 19, 2022

2 Days after invoice date due: {{ invoices.0.date_due|add_days:'2' }} = Dec. 21, 2022


Template:

Preview:


Did this answer your question?