We've recently made an accessibility improvement to the community and therefore posts without any content are no longer allowed. Please use the spoiler feature or add a short message in the message body in order to submit your weekly challenge.
alteryx Community

Weekly Challenge

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

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

We're actively looking for ideas on how to improve Weekly Challenges and would love to hear what you think!

Submit Feedback

Challenge #46: Formatting a Date from an Integer

12 - Quasar

I like to use weekly challenges to fill short gaps in trainings. This one is great for prep and blend training because we get to really explore the concept of character positions in a word and dive into the complexities of date time formatting.

Treyson Marks
Senior Analytics Engineer
8 - Asteroid

Solution attached.

7 - Meteor
Spoiler

8 - Asteroid

Solution

11 - Bolide

7 - Meteor
Spoiler

Single formula approach, Bazinga!!!!

IF left([date],1)='0' THEN
ToDate( '19'+Substring([date],1,2) +'-'+ Substring([date],3,2)+'-'+
Substring([date],5,2)
)
ELSE
ToDate(
'20'+Substring([date],1,2) +'-'+ Substring([date],3,2)+'-'+
Substring([date],5,2)
)
ENDIF

8 - Asteroid
Spoiler

Here's my solution.

8 - Asteroid

Solved

8 - Asteroid

Formula, DatetimeParse

7 - Meteor

Solved