Error in the "formatDate"/ "parseDate" function

Error in the “formatDate”/ “parseDate” function

The value you are using in the field that has the type “date” or in the date function is not a valid date.


How to avoid getting this error?