transform Text to date

Hello community, in an expression I transformed a text of type 20200123 into text of type 01-23-2020.

For this I used the expression ($$|substr:4:2)~($$|substr:6:2)~($$|substr:0:4).

The problem is that it always in text format.

How can I change to date format with an expression. I dont't want to use a lopp.

Thank you in advance for your response

4 replies