Formatting date using addDays on a text field

How can I format date when I use the addDays function on a text field?

Example:

image

The output is 2024-10-02T22:47:49.218Z but I just want 02/10/2024.

Thank you

1 Like

Welcome to the Make community!

You can use the built-in function formatDate

e.g.:

formatDate(addDays(now;-1); DD/MM/YYYY)

For more information, see the function documentation in the Help Center.

Hope this helps! Let me know if there are any further questions or issues.

ā€” @samliew

P.S.: Investing some effort into the Make Academy will save you lots of time and frustration using Make.

1 Like

Hi @Francisco_Neves

Output:


Best regards,

Msquare Automation
Gold Partner of Make
@Msquare_Automation

1 Like