Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Parse Date From File Path

DataPirate26
10 - Fireball

Hi all,

 

Need help in Parsing out the Date in Date Format "YYYY-MM-DD" from the Full Path. It needs to be dynamic as the path can change. 

 

Look into the Attached Sample below and please help out with a solution

3 REPLIES 3
binuacs
21 - Polaris

@DataPirate26 One way of doing this, this formula also checks whether the date has "th" or "nd" or "st" based on that it applies the regex formula

image.png

gawa
16 - Nebula
16 - Nebula

@DataPirate26 

Regex + Formula would suffice. Please adjust regex if it does not make sense to your real data.

image.png

Dev73
8 - Asteroid

@DataPirate26  one more solution to it , I have tried to keep it simple and understandable 😊

 parse date.pngparse date_1.png

Labels
Top Solution Authors