The Alteryx Community is a finalist in three 2026 CMX Awards! Help us win Customer Support Community, Most Engaged Community, and User Group Program of the Year - vote now! (it only takes about 2 minutes) before January 9.
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests Early 2026. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more here
Start Free Trial

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 #46: Formatting a Date from an Integer

soha-elghany
8 - Asteroid
 
Borja_Leiva
7 - Meteor

Here is my solution

Snare
8 - Asteroid

Solution below: 

Spoiler
Snare_0-1573246365053.png 
Used formula to replace the leading 1 with 20 else the leading 0 with 19. Then used DateTime to convert to standard date. Select for the relevant fields.

Formula:
IF Left([date], 1) = '1'
THEN ReplaceFirst([date], '1', '20')
ELSE ReplaceFirst([date], '0', '19')
ENDIF
MFish
8 - Asteroid
 
AmeliaG
Alteryx
Alteryx
Spoiler
46_screenshot.png
Inactive User
Not applicable
 
Rags1982
10 - Fireball
 
Elysia1
7 - Meteor

used a regex, took two more steps

nicolomonti
5 - Atom
Spoiler
nicolomonti_0-1574352102675.png
sachinw
8 - Asteroid

My Solution: