Skip to main content
All CollectionsPast Product Updates
Add or subtract dates in a template
Add or subtract dates in a template
Updated this week

Original Post Date: May 24, 2023

You can now add or subtract dates in your date placeholder in a template. Importantly, this handles changes in AM/PM, months, and leap years.

Here are some quick examples assuming the current date is "Wednesday, May 24th, 2023”:

  • “%d(dddd MMMM Do, YYYY)+P3D” adds 3 days from today, and would display “Saturday, May 27th, 2023”

  • “%d(dddd MMMM Do, YYYY)+P2W” adds two weeks from today, and would display “Wednesday, June 7th, 2023”

Did this answer your question?