Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Date Help

derekthomas4
5 - Atom

How do I convert a string "033124" to be "2024-03"?

 

Thank you in advance!

3 REPLIES 3
DataNath
17 - Castor
17 - Castor

Hey @derekthomas4, there's a few ways to do this but I personally like the Formula tool option - the following expression ought to work:

 

DateTimeFormat(DateTimeParse([Input],'%m%d%y'),'%Y-%m')
Matt_D
10 - Fireball

Hi @derekthomas4 

 

Left(DateTimeParse([YOUR_VALUE], "%m%d%y"), 7) assuming I'm looking at 03 (month) 31 (day) 24 (year)?

 

Matt

derekthomas4
5 - Atom

Thank you!!!

Labels
Top Solution Authors