Ifelse error question

Anyone knows why the below ifelse throw me error in the calculated field? thank you

error from the calculated field:
ifelse({formatted_date}=formatDate(now(), ‘MM/dd/yyyy’),{Count_Days},0)

Hi
try this

ifelse(toString({formatted_date})=formatDate(now(), ‘MM/dd/yyyy’),{Count_Days},0)

1 Like