I´d like to change the data format in the attribute table from yyyy-MM-dd (default) to dd.MM.yy using the format_date
function in the field calculator.
Using:
format_date(date, 'dd.MM.yy')
I got NULL values in the new field in the attribute table.
My create a new field settings:
Although the output review looks correct, in the new field only NULL values appear:
Choosing string as the output field type the new field contains intended values but in the wrong format.
Applying to_date
expression on the string values is invalid.
Any ideas how to solve this problem?