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: