Let’s talk Alteryx Copilot. Join the live AMA event to connect with the Alteryx team, ask questions, and hear how others are exploring what Copilot can do. Have Copilot questions? Ask here!
Start Free Trial

Alteryx Designer Desktop Discussions

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

Converting YYYY-MON to YYYYDD

Jake5
8 - Asteroid

Hello - I have an input file that displays date as YYYY-MON (e.g. 2022-Jan) and I need to convert it to YYYYMM (202201).  The DateTime tool doesn't seem to work for this, but I presume a formula tool can do this by way of a swap (e.g. replace '-Jan' with '01').  Welcome any specific suggestions, though.  Thanks!

 

Jake5_0-1658845847954.png

 

3 REPLIES 3
binuacs
21 - Polaris

@Jake5 One way of doing this with the DateTime functions

 

DateTime Functions | Alteryx Help

 

binuacs_0-1658846501293.png

 

Hi @Jake5 

 

Here is a way of doing it. Cheers!

christine_assaad_0-1658846548831.png

 

Jake5
8 - Asteroid

Thank you both!  That worked.  

Labels
Top Solution Authors