community
cancel
Showing results for 
Search instead for 
Did you mean: 

Weekly Challenge

Solve the challenge, share your solution and summit the ranks of our Community!
New content is available in Academy! You may need to clear your browser cache for an optimal viewing experience

Challenge #46: Formatting a Date from an Integer

Asteroid

Simple and beautiful.

Atom
Spoiler
Challenge_46.PNG

Solution attached

Meteor
 
Asteroid
 
Meteor

Two possible solutions, both attached. 

Highlighted
Alteryx Partner
 
Asteroid

Learnt a new string function here!!

Asteroid
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
Alteryx Partner

Solution attached.