Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
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 #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

Angela_Menegassi
Alteryx Alumni (Retired)
 
wdavis
Alteryx Alumni (Retired)

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