Formatdate - tomorrow

Hello I am trying to get ChatGPT to tell me tomorrow’s date but I get an error message -

Screen Shot 2024-03-11 at 9.27.31 AM

If you match the brackets, these ones circled in red don’t belong.

8455fd67575615185f74d33b269eec04306149da

2 Likes

I think you’re missing a ) at the end to close your first formatdate().

Added some colour lines to make it a tad more visible :slight_smile:
image

1 Like

Hi @stanislasberteloot

It seems you are trying to get a result like this : “weekday month-day month” for example: :point_down:

Tuesday 12th March

If it is, please use this formula: :point_down:
Screenshot 2024-03-11 193533

If you require additional assistance, please don’t hesitate to reach out to us.
MSquare Support
Visit us here
Youtube Channel

2 Likes

Thank you all

I have changed it to Today is - {{formatDate(addDays(now; 1) + “DDDD Do MMMM”)}}- Here is what we are covering

But get the following error.
Screen Shot 2024-03-11 at 10.34.55 AM

Failed to map ‘content’: Function ‘formatDate’ finished with error! ‘Tue Mar 12 2024 14:32:12 GMT+0000 (Coordinated Universal Time)DDDD Do MMMM’ is not a valid date.

You are missing a semi-colon before the DDDD

; DDDD

2 Likes

Thank you ! Almost there!

Today is - 072 12th March- Here is what we are covering.

How do I get the day of the week?

That’s what I have

Today is - {{formatDate(addDays(now; 1); “DDDD Do MMMM”)}}- Here is what we are covering

All good
Today is - Tuesday March 12th- Here is what we are covering

Thank you everyone
Screen Shot 2024-03-11 at 10.51.15 AM

2 Likes