Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents

...

TIME functions (or datetime offsets)

...

You can also insert the following time functions. The App will insert an appropriate Macro that is also editable. Datetime formatting functions are the same as listed in following section.

Name

Macro inserted

Other examples

Date Offset

{{date.now(0,"dd/MM/yyyy”, ”GTM+1”)}} - today

  • {{date.now(1)}} - tomorrow

  • {{date.now(-1)}} - yesterday

  • {{date.now(-7)}} - 7 days ago

Start of Week

{{date.startOfWeek(0,"dd/MM/yyyy”, ”GTM+1”)}} - start of the week

  • {{date.startOfWeek(-1,"dd/MM/yyyy”, ”GTM+1”)}} - start of the previous week

  • {{date.startOfWeek(1,"dd/MM/yyyy”, ”GTM+1”)}} - start of the next week

End of Week

{{date.endOfWeek(0,"dd/MM/yyyy”, ”GTM+1”)}} - end of the week

  • {{date.endOfWeek(-1,"dd/MM/yyyy”, ”GTM+1”)}} - end of the previous week

  • {{date.endOfWeek(1,"dd/MM/yyyy”, ”GTM+1”)}} - end of the next week

Start of Month

{{date.startOfMonth(0,"dd/MM/yyyy”, ”GTM+1”)}} - start of this month

  • {{date.startOfMonth(1,"dd/MM/yyyy”, ”GTM+1”)}} - start of the next month

End of Month

{{date.endOfMonth(0,"dd/MM/yyyy”, ”GTM+1”)}} - end of month

  • {{date.endOfMonth(-1,"dd/MM/yyyy”, ”GTM+1”)}} - end of the previous month

Start of Year

{{date.startOfYear(0,"dd/MM/yyyy”, ”GTM+1”)}} - start of the year

  • {date.startOfYear(1,"dd/MM/yyyy”, ”GTM+1”)}} - start of the next year

End of Year

{{date.endOfYear(0,"dd/MM/yyyy”, ”GTM+1”)}} - end of the year

  • {date.endOfYear(-1,"dd/MM/yyyy”, ”GTM+1”)}} - end of the previous year

Previous WEBHOOK response

...

You can also have access to previous WebHook response data, namely:

...