I’m trying to format the date in a custom format for readability.
I tried the following: Mo MMMM, YYYY k:mm a
Example:
{{formatDate(1.date; Mo MMMM, YYYY k:mm a)}}
But got an error:
The operation failed with an error. Failed to map ‘values.0’: Function ‘formatDate’ finished with error! ‘September 17, 2023 at 3:44 PM GMT+12’ is not a valid date
If you’re using formatDate, make sure the variable type of the field or cell accepts a string, not a date.
Also make sure that 1.date contains a Date type, not a date-like String. If it’s a date-like String type you’ll need to convert that into a Date type before you can use formatDate. For more information, see Wrong formatDate - #4 by samliew