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 #414: Mastering Date Formats

olga_strubbe
10 - Fireball

This was a good practice in formatting dates.  Thank you, @AYXAcademy!

I like to keep it simple and used a Formula function with 'Contains' clause to solve the challenge - similar to @mmontgomery.  This keeps it down to just using 2 tools :)

2024-02-20_13-03-46.png

oscar_leeper_wf
7 - Meteor

I liked mmontgomery's posting of some more details:

Spoiler
For my solution, I found that FormatDateTime wouldn't take a column as a format variable, so instead, I parsed all date and format components out into their own columns, then used an if statement to extract the year, month and day in an Alteryx friendly format:
Challenge_414_parse.pngChallenge_414_formula.png
alexnajm
16 - Nebula
16 - Nebula

Too common! 😂

Spoiler
Challenge 414.png
ARussell34
8 - Asteroid

Here are the translated dates!

 

AR_414.png

Powerhouse_21
9 - Comet
Spoiler
414.png

TurboToad
10 - Fireball

Felt like the solution needed a macro :)

 

Spoiler
414a.PNG414b.PNG
Qiu
20 - Arcturus
20 - Arcturus

Without the exception of "29-01-2020,dd.mm.yyyy", it would be just one Text to Column too and one Formula tool with two Formulas. 😁

Spoiler
challenge_414.PNG
AkimasaKajitani
17 - Castor
17 - Castor

My solution.

 

Spoiler
Clipboard01.png

Clipboard02.png

Yoshiro_Fujimori
15 - Aurora

My solution.

 

 

Spoiler
Workflow
Challenge_414_Workflow.png

Formula Tool 1
Date Field = ReplaceChar([Date Field], "/.", "-")

Date Specifier Conversion Table
charcode
yyyy%y
mm%m
dd%d

Formula Tool 2
DateTimeParse([1],[2])

 

 

RolandSchubert
16 - Nebula
16 - Nebula
Spoiler
W414.jpg

It only needs one formula tool