In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Set up your security questions now so you can recover your account anytime, just log out and back in to get started. Learn more 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
19 - Altair
19 - Altair

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