Expresssion for date using format "dd/mm" (birthday)

I created a GET HTTPS request to query all customers whose birthday is today.

@marcus showed me how to use the expression {{ $today }} to automatically insert today’s date in a query parameter. However this expression returns the date with the following format: “2022-11-26T00:00:00.000-03:00”.

The API however require the format “26/11”.

Is there another expression that does that?

You can put it in the date time node or use luxon to format it.

2 Likes

@BramKn thank you! I added the Date time node to transform today’s date into a DD/MM date, and fed that to the HTTPS Node. Worked like a charm!

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.