We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun here.
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

String to Date Conversion

Lizbhernan
8 - Asteroid

Hello,

 

I am trying to convert MM.YYYY to a date and I am having a hard time. Can someone help?

 

Currently my data looks like this 12.2024 and I need it to convert to 12.1.2024. I tried using the DateTime tool but I am unable to get it work.

I have attached my workflow in case someone is able to assist me.

 

TIA

2 REPLIES 2
alexnajm
18 - Pollux
18 - Pollux

Since you don't have a day there, a Formula will be better - try this:DateTimeParse(Left([3], 2)+"01"+Right([3], 4),"%m%d%Y")

Lizbhernan
8 - Asteroid

Hi Alex, TYSM! This worked 😊

Labels
Top Solution Authors