Formatdate problem output

Hello team,

Hope you’re well.

I don’t understand what’s wrong if ma formatdate

image

And the result

image

If you have any idea.

regards

1 Like

Hello @hugo2,

These are the tokens you can use for date formatting:
https://www.make.com/en/help/functions/tokens-for-date-time-formatting

If the expected format is YYYY-MM-DD'T'HH:mm:ss'Z', try this:

formatDate(now;YYYY-MM-DD)+T+formatDate(now;HH:mm:ss)+Z

That means you keep the formatting of the date separate from the formatting of the time, so you will be able to place a ‘T’ in the middle and a ‘Z’ at the end.

Cheers,
Henk

2 Likes

Thx for your answer. Just try.

Hi @hugo2,

My response was not a copy-paste solution, but an example of how to string together values. You can see what is wrong, remove the + signs to follow the exped format.

Cheers,
Henk