Get Inspire insights from former attendees in our AMA discussion thread on Inspire Buzz. ACEs and other community members are on call all week to answer!

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

SueDonim
8 - Asteroid

Pretty straightforward one...

 

Spoiler
Solution.PNG

- Stripped out left-most digit and converted to either 19 or 20
  -- Concatenated 19 or 20 with next two digits (using right and left functions) to get year
- Used DateTimeParse to convert Year-Month-Date to DateTime (after extracting month and date digits

Probably would be simpler to follow (and debug) if I did this in multiple steps

I do this in Excel a lot....

Billigans
8 - Asteroid
Spoiler
challenge_46_solution_BL.png
kmalone007
8 - Asteroid

Solution

blundebjerg
8 - Asteroid
 
jaiswas1
7 - Meteor

This is how my solution looks like.. Enjoying these exercises...

ArnavS
Alteryx
Alteryx
 
rmforcreamlisa
7 - Meteor

Here is my solution.

TomProwse
8 - Asteroid
 
jridleh
7 - Meteor
Spoiler
SPOILERChallenge_46.PNG
mat_budden
8 - Asteroid

Hi All

 

Please find my Result Below. PS this one was Easy.....

 

Spoiler
1 tool... Formula....

Thanks

Mat