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

Extract Date from Directory Filename

KamenRider
11 - Bolide

Hi,

 

Can someone help me extract the date and convert this to this date format, "mm/dd/yyyy".

 

Filename: time_mist 20240822.xlsx.

 

Thanks,

Kamen

3 REPLIES 3
shancmiralles
11 - Bolide

i just use the data cleanisng tool and  check all unwanted characters aside for "Numbers", this should just show the number parts (which is the date)..
then date time tool should help you ... select the format that matches the incoming field ( yyyyMMdd).. 

ChrisTX
16 - Nebula
16 - Nebula

See attached workflow

 

The date format "mm/dd/yyyy" must be stored as data type String.

 

If you want data type Date, Alteryx will always store and display it as YYYY-MM-DD.

 

Screenshot 2024-08-22 101031.png

Chris

KamenRider
11 - Bolide

Thank you!

 

Kamen

Labels
Top Solution Authors