Hello all,
I have a problem with an integer date column.
The dates are displayed as follows (Example):
12020
102019
I would like to have it like this (Example):
01.2020
10.2019
I have already converted the column as a string and tried to get it to work with the String Replacer, but can’t get it to work.
Does anyone have any ideas??
Thanks in advance!
Best regards
Alex
lelloba
2
Hello @alexrffl ,
try this:
Have a nice day,
Raffaello
1 Like
ArjenEX
3
Hi @alexrffl
You can achieve this in a Column Expression with:
padLeft(substr(column("column1"),0,length(column("column1"))-4),2 ,0) + "." + right(column("column1"),4)
It takes the string excluding the year, pads a zero to create a two digit month and adds the year again.
2 Likes
It works! Thank you very much! 
1 Like
system
Closed
5
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.