Hello!
I want to add a new column in my dataset, using transaction date in DDMMYYYY format, and transform it into YYYY-0001 format. A sample is below:
Thank you!
Hi @LeoMessi
One way of doing this
Here is a way of doing it using DateTime formula and a Record ID. Firstly create a record ID field in string format, specifying the length of the field, then parse the date into standard ISO format, format so it's only the year, and finally add the record ID to it:
Input:
Output:
Shanker V
Please see attached workflow, hope it helps
Feel free to mark it as solved if it solves the issue.
One way of doing this!!!
Many thanks
Step 1: Input
Step 2: Record ID tool
Step 3: Regex tool
Step 4:
Kindly accept this solution if it provided a solution to your question.
Thank you, everyone!
Your respective solutions worked for me!!