Weekly Challenges

Solve the challenge, share your solution and summit the ranks of our Community!

Also available in | Français | Português | Español | 日本語
IDEAS WANTED

Want to get involved? We're always looking for ideas and content for Weekly Challenges.

SUBMIT YOUR IDEA

Challenge #4: Date Parsing

Lily_Unsworth
Asteroide
 
Reesetrain2
Cometa

All,

 

I used a bit of a waterfall method in my approach.

-First, two of the dates use hyphens (-), so I was able to use Tex to Columns to parse those, and then use left and right in order to gather the rest of the date.

-The third, used a comma, so I was able to parse the comma and then use Text to Column to grab the year and day on either side.

-Finally, I had to use Regex for the final date.

-Again, I have created my solutions to use a little custom code as possible.

-Cheers!

Matt

Hannah_Lissaman
Bólide

My solution - not a complete solution by any means, but it works for all the variations of dates included in the challenge

Greg_Murray
Quasar

Not pretty, but solved

rowenb
Meteoroide

I liked this challenge.

Saqueador
My one roadblock was finding a way to evaluate MM-dd-yyyy separately from dd-MM-yyyy. Eventually I realized I could just duplicate my workflow and run it twice (once per case).
Saqueador
layout.png

 

garthn555
Asteroide
Saqueador
gn_challenge_4.png

My solution uses more tools but there is less code and it is easier to understand - it leverages the power of the DateTime tool

DanielMS
Alteryx
Alteryx
Saqueador
Spoiler.PNG
VizAlly
Meteoroide
Saqueador
bk_challenge4.png
arno_bürgin
Meteoro

Solution attached.

 

Saqueador
screenshot challenge 4.png
Vidya26
Asteroide

Litlle lengthy !!!