We've recently made an accessibility improvement to the community and therefore posts without any content are no longer allowed. Please use the spoiler feature or add a short message in the message body in order to submit your weekly challenge.
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

We're actively looking for ideas on how to improve Weekly Challenges and would love to hear what you think!

Submit Feedback

## 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

7 - Meteor
Spoiler