In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities 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 #10: Date Time Calculations

Maskell_Rascal
13 - Pulsar

Love a good DateTime challenge! Solved this one with one tool! 😀

 

To other challengers, the Time_Now value in the Output is different than the one in the Input, so your results will not match. 

 

Spoiler
Days = DateTimeDiff([Time_Now],[TIMESTAMP],'days')
Hours = DateTimeDiff([Time_Now],[TIMESTAMP],'hours')-[Days]*24
Minutes = DateTimeDiff([Time_Now],[TIMESTAMP],'minutes')-([Days]*1440)-([Hours]*60)
Seconds = DateTimeDiff([Time_Now],[TIMESTAMP],'seconds')-([Days]*86400)-([Hours]*3600)-([Minutes]*60)

Cheers!

Phil

RashedDS
8 - Asteroid

My solution 

GSD
7 - Meteor

My solution to the challenge:

 

Spoiler
Challenge 10.jpg

ABAsseged
7 - Meteor
Spoiler
ABAsseged_0-1620081021296.png

 

ENix
8 - Asteroid
Spoiler

ENix_0-1620648660247.png

 

SWalker
7 - Meteor
Spoiler
challenge10_Preview.png

TKSnider
8 - Asteroid

My solution is below

 

Honestly, this wasn't so much an intermediate, but closer to a beginner level (IMO).  Very limited need for much in the tool palette.

Vishnu_Sekhar
7 - Meteor

Using the Mod function did the trick. Please find the attachment for the solution, 

ARussell34
8 - Asteroid

Here is my solution!

Mario36
8 - Asteroid

Here's my solution. This is a beginner challenge, I would not agree for this to be an intermediate.

Spoiler
Use the Formula Tool effectively with DataTimeDiff