parseDate finished with error

I’m trying to format a date from my BigCommerce feed, and cannot seem to get it to work.

The date format received is :
Mon, 13 May 2024 10:33:48 +0000

I’ve tried {{parseDate(4.data.date_created; “ddd, dd mmm yyyy hh:mm:ss”)}} but that just comes up with an error saying :

Function ‘parseDate’ finished with error! ‘Mon, 13 May 2024 10:33:48 +0000’ is not a valid date or does not match the date format.

Any idea how I get around this?
Thanks

Welcome to the Make community!

The date format is case-sensitive. Are you sure all of the tokens are lowercase?

samliewrequest private consultation

Join the unofficial Make Discord server to chat with us!

2 Likes