I have created calculated field with the following logic:
parseDate({Status_change_date_time__c_his}, “yyyy-MM-dd HH:mm:ss”)
And it work corretly.
Than I added to it the following (in order to change it from a date time field into a date only field):
formatDate(parseDate({Status_change_date_time__c_his}, “yyyy-MM-dd HH:mm:ss”),“dd/mm/yyyy”)
And it returned the following error:
“Your function expression contains an unsupported date. Correct the date format and try again.”
I was following this thread. It’s great to hear that your issue is resolved by addressing the format changes at the dataset level. However, I wonder why it didn’t work with parsedate and datediff functions. I did a quick POC and the outcome was successful. Here are the details:
I created the following data set. Pls note that OrderDate and ShipDate are strings: