Bonjour,
J’ai toujours un problème de configuration que j’essais de résoudre avec COLUMN CONFIGURATION.
Je veux transformer une série de date ex 21.08.86 > 21.08.1986
Cela pourrait être ce code que je n’arrive pas à entrer
dateToString(dateParse($BIRTH DATE$, “yy.MM.dd”), “yy.MM.yyyy”)
Aah, now I see! The code in the forum post was only an example. These functions do not exist in the Column Expression node.
If you only want to add the “19” into the string, the String Replacer node can do this. Have a look at the workflow below.
If you additionally want to continue to work with the data, I recommend to convert it to the Date data type using the String to Date&Time node. athle.knwf (250.4 KB)
I hope this solves your task. However, I spotted some birth dates that likely are from the 21st century (e.g., 2002).
@nan
i can not understand why it does not work with this data that is exactly the same except the number of rows ?
Do you have an idea
Tanks 800 PERF 100M MEN.xlsx (60.2 KB)
Hey,
looks like the second file contains commas “,” instead of periods “.” in the birth date column. You need to update the pattern in the String Replacer accordingly.
Pattern: (\d{2}),(\d{2}),(\d{2})
Replacement text: $1.$2.19$3
P.S. It helps a lot to add error messages to your forum post, if something does not work.