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
ファイアボール

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
メテオール

I liked mmontgomery's posting of some more details:

スポイラ
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! 😂

スポイラ
Challenge 414.png
ARussell34
アステロイド

Here are the translated dates!

 

AR_414.png

Powerhouse_21
コメット
スポイラ
414.png

TurboToad
ファイアボール

Felt like the solution needed a macro :)

 

スポイラ
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. 😁

スポイラ
challenge_414.PNG
AkimasaKajitani
17 - Castor
17 - Castor

My solution.

 

スポイラ
Clipboard01.png

Clipboard02.png

Yoshiro_Fujimori
オーロラ

My solution.

 

 

スポイラ
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
スポイラ
W414.jpg

It only needs one formula tool