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

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!!!

Polls
We’re dying to get your help in determining what the new profile picture frame should be this Halloween. Cast your vote and help us haunt the Community with the best spooky character.
Don’t ghost us—pick your favorite now!
Labels