community
cancel
Showing results for 
Search instead for 
Did you mean: 
Do you have the skills to make it to the top? Subscribe to our weekly challenges. Try your best to solve the problem, share your solution, and see how others tackled the same problem. We share our answer too.
Weekly Challenge
Do you have the skills to make it to the top? Subscribe to our weekly challenges. Try your best to solve the problem, share your solution, and see how others tackled the same problem. We share our answer too.
Unable to display your progress at this time. Please try again a little later, or contact an administrator if you continue to see this error.
Getting started with Designer? | Start your journey with our new Learning Path!

Challenge #46: Formatting a Date from an Integer

Asteroid

Simple and beautiful.

Atom
Spoiler
Challenge_46.PNG
Asteroid

Solution attached

Meteor
 
Asteroid
 
Meteor

Two possible solutions, both attached. 

Alteryx Partner
 
Asteroid

Learnt a new string function here!!

Meteor
Spoiler
Was able to get this all into one string formula to get an output the select tool recognizes as a date.

IF left([date],1) = "0" then "19" else "20" ENDIF + Substring([date],1,2) + "-" + Substring([date],3,2) + "-" + Substring([date],5,2)

wk_46_Snapshot.PNG
Highlighted
Alteryx Partner

Solution attached.