ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests Early 2026. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more here
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