Community Spring Cleaning week is here! Join your fellow Maveryx in digging through your old posts and marking comments on them as solved. Learn more here!

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 #10: Date Time Calculations

payam2
8 - Asteroid

Can I fit a quick Alteryx Challenge before my next meeting? Yes, I can!!

jagdeep_singh85
8 - Asteroid

Please find the attached solution

keefeale
7 - Meteor

My solution

 
wdavis
Alteryx
Alteryx

Completed using the Formula tool and the DateTimeDiff calc

Shifty
12 - Quasar

Nice little intro to DateTime formulas.

 

Spoiler
DateTimeDiff([Time_Now],[TIMESTAMP],'Days')
DateTimeDiff([Time_Now],[TIMESTAMP],'Hours') - (DateTimeDiff([Time_Now],[TIMESTAMP],'Days')*24)
DateTimeDiff([Time_Now],[TIMESTAMP],'Minutes') - (DateTimeDiff([Time_Now],[TIMESTAMP],'Hours')*60)
DateTimeDiff([Time_Now],[TIMESTAMP],'Seconds') - (DateTimeDiff([Time_Now],[TIMESTAMP],'Minutes')*60)


Inactive User
Not applicable

Hi - Attaching solution here. I did not go the modulo route, but it worked!

Vidya26
8 - Asteroid

My Solution

gdell
7 - Meteor

I liked the simplicity (just one tool required), but it took me a while to get my head around the 'TimeDiff' function 

PeterGoldey
11 - Bolide