Cant using datetime in database query

“data_de_execucao” DATE NOT NULL

but what do i do now?
I don’t understand why RPA says there was a failure in the conversion to string if I already converted