Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.

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