Skip to main content

This is probably a very basic question, but when I am using Zapier to create an invoice in Xero (from data entered on Gravity Forms), how do I set the due date to be 30 days after the date of the invoice?

Just add {from data entered on Gravity Forms} +30days

in the field


Many thanks! Will try that.

John


you are welcome 


Hi @johnmorsebrown 

Good question.

Here’s the proper way to use date modifiers in Zaps:

 

A modifier includes:

  • A + or -, signifying forward or backward in time
  • A number
  • A unit of time: s (seconds), m (minutes), h (hours), d (days), month (months), y (years)

For example:

  • +7h - 7 hours after the date/time in the field.
  • +10d - 10 days after the date/time in the field.
  • -45m - 45 minutes before the date/time in the field.
  • +30s - 30 seconds after the date/time in the field. Useful if you receive a duration in seconds.
  • +1y - 1 year after the date/time in the field.

You must include a space between the modifier and the date/time value.
Multiple modifiers can be used together, and must be separated from date/time values and each other with spaces.


Many thanks Troy! That’s really helpful. So I’ve added that - if I attach a screenshot of the box, can you tell me if it looks correct, just to be sure?


@johnmorsebrown 

When in doubt, test it out!


Good call - I’ve tested it and it works! Thanks Troy.


That’s excellent news @johnmorsebrown! Big thanks to to all the people who assisted you on this one! 🎉

If you have any other questions, please don’t hesitate to reach out to the Community. We’re always happy to help! 🤗