Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Formatter

What is Formatter?

Allows you to manipulate dates by either:

  1. Changing them to a new format style or

  2. Adding/subtracting days, months, years, hours or minutes to it

Add/subtract time

Field
Description
Required?

Value to transform

The time that you want to manipulate

✔️

Select the format of your value

The format that the time you want to manipulate, is currently in

✔️

Specify the amount of time you want to add or subtract

The amount of time you wish to add or subtract to the time you want to manipulate

✔️

Format date/time

Field
Description
Required?

Value to transform

The time that you want to manipulate

✔️

Select the format of your value

The format that the time you want to manipulate, is currently in

✔️

What format do you want to transform value to?

The new format for your time

✔️

  1. Set up your step by completing the fields.

  2. Click on Check step.

Compare or calculate dates

Choose one of three modes under What do you want to do?:

  • Compare two dates — is the first date before, after, or the same day as the second? Gives a Yes/No answer.

  • Check the gap between two dates — are the two dates within, or more than, a certain amount of time apart? Gives a Yes/No answer.

  • Calculate time between dates — how many days, weeks, or months are between two dates? Returns a number you can use in messages or calculations.

Field
Description
Required?

Format of the first date

The format your first date value is currently in

✔️

First date

The first date to compare or calculate from

✔️

Format of the second date

The format your second date value is currently in

✔️

Second date

The second date to compare or calculate against

✔️

The first date is... (Compare / Check gap modes)

Whether the first date should be before, after, or the same as the second

✔️

How much time? (Check gap mode)

The amount and unit of time to check the gap against. Click + And to check against more than one gap condition

✔️

Show the result in (Calculate mode)

The unit to return the difference in, for example days, weeks, months, or years

✔️

Tip: to get someone's age from their date of birth, use Calculate time between dates, with the date of birth as the first date, today's date as the second, and Show the result in set to years.

Check step

The Check step button saves your set up and tells you what the transformed value will be according to what you set up.

Common errors

Incorrect format of your value

This happens when you choose the wrong format of your value.

You should make sure that you select the correct format of your value.

Last updated