Alteryx Designer Desktop Discussions

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

Date Help

derekthomas4
Átomo

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

 

Thank you in advance!

3 RESPOSTAS 3
DataNath
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
Bola de fogo

Hi @derekthomas4 

 

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

 

Matt

derekthomas4
Átomo

Thank you!!!

Enquetes
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!
Rótulos