Looking for Starter Kits? Head to the Community Gallery! Now formatted as YXIs for easy installation.
alteryx Community

# Weekly Challenge

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.

## Challenge #10: Date Time Calculations

7 - Meteor

Here is my solution! Super quick but I enjoyed figuring out the math in my formulas.

Spoiler

7 - Meteor

Happy to solve the problem - The solution has been uploaded to the article.

7 - Meteor

Happy to solve the WC - The solution has been uploaded to the article.

8 - Asteroid

They you change the time now at some point? The input does not match the output but here is my solution based on the input data but will not match the minutes and seconds in the output.

8 - Asteroid

I always a love a single tool solution - Leveraged some floor rounding and utilizing the preceding calculated filed to continue down the line until I got to seconds:

8 - Asteroid

solved

7 - Meteor

Here it is

7 - Meteor

Solution

6 - Meteoroid
Spoiler
(DateTimeDiff([Time_Now],[TIMESTAMP],"sec") - Mod((DateTimeDiff([Time_Now],[TIMESTAMP],"sec")),24*60*60))/(24*60*60)

Only one formula tool

8 - Asteroid
Spoiler