We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun here.
Start Free Trial

Alteryx Designer Desktop Discussions

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

HELP NEEDED - Transforming Dates (Text to MM/DD/YYYY Format)

Imzadi_1701
5 - Atom

Hello, Community. 

 

I've tried researching a solution to my problem, but my efforts have been futile.  I need to transform the text string date in the first column to an actual date in a new column in MM/DD/YYYY format, but I can't seem to figure it out.  I've tried a few different DateTime functions, including the DateTimeParse(). Any and all help is much appreciated. Thanks in advance!

 

Current Format (as Text)Desired Format (as Date)

MAY-23

05/01/2023

DEC-2212/01/2022
APR-2404/01/2024

 

** NOTE: The DD will always be 01 for the first of each month.

2 REPLIES 2
alexnajm
18 - Pollux
18 - Pollux

Dates in Alteryx can only be stored in YYYY-MM-DD format - any other format will be a string!

 

Here are the two options you have - store it as a string with the format you want, or store it as a date with the YYYY-MM-DD format. Both options included int he workflow below.

Imzadi_1701
5 - Atom

That worked perfectly and was much easier than what I was making it out to be.  Thank you!

Labels
Top Solution Authors