Important Community update: The process for changing your account details was updated on June 25th. Learn how this impacts your Community experience and the actions we suggest you take to secure your account here.

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
11 - Bolide

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
17 - Castor
17 - Castor

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
21 - Polaris
21 - Polaris

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