Hello,
I’m newbie to make, and trying to send an email with a parsed date on gmail.
On my scenario, I GET a date from an API which arrives in this format : 2023-11-03 08:14:49
I create a variable to store that date parsed, it transforms it as : 3 novembre 2023 08:14 (it’s in french)
Then I send an email with the variable created, but what I got is a date in this format : 2023-11-03T07:14:49.000Z
I tried to parse it again in the gmail module, but still the same.
Can you help me ?
(upload of jpeg of my scenario does’nt seems to work)
You need to use formatDate after the parseDate, since the parseDate returns result as a date you will get the standard date when using the variable i.e 2023-11-03T07:14:49.000Z. So, You can use the formatDate to get string of date format that you want, which will then render the required format in the email that you are sending.