I would like to make a date out of a string (QGIS 3.22). For this purpose, I have created a new field into which the conversion is to be made with the following formula.
to_date( "Erfassungsdatum" , 'MMMM d, yyyy')
I get the following error:
An error occurred while evaluating the calculation string:
Cannot convert '14.01.22' to Date
The field "Erfassungsdatum" is a string and the data is in the following example format: 14.01.22
Does anyone know a solution?