# Weekly Challenge

Solve the challenge, share your solution and summit the ranks of our Community!
###### IDEAS WANTED

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

Submit Feedback
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.

## Challenge #10: Date Time Calculations

Highlighted
8 - Asteroid

My solution

Highlighted
5 - Atom

The trickiest part to me is finding the difference then using the mod function to get the hours,mins,secs: well, i used the below formula to achieve the result.

Mod(tonumber(DateTimeDiff([Time_Now],[TIMESTAMP],'hours')),24)

Highlighted
8 - Asteroid

Please find attached my solution.

Highlighted
7 - Meteor
Spoiler

Highlighted
8 - Asteroid
Spoiler
Highlighted
8 - Asteroid

My submission

Highlighted
6 - Meteoroid

Hi! I'm here again to share my solution.

This challenge is quite challenging though if you base on the data that were in the start file and solution file.

I was tricked! I thought my solution was wrong because of the 41 seconds interval with the given solution.

When I checked again and again, the given values were not the same. Haha!

So... yep, my solution is correct. I almost doubted myself.

Here's a preview of my solution. I only used the Formula Tool in generating the solution.

Spoiler

Have a nice day!

Highlighted
12 - Quasar

starting to learn that referencing columns in Python Dataframes is as simple as df['column_name'] (case sensitive!!!) that's a nice part about alteryx is that it isn't natively case sensitive.

Spoiler

#SnakingMyWayThruChallenges

Highlighted
8 - Asteroid

done

timestamp difference added to start dates

Highlighted
8 - Asteroid

Solved. Learnt modulo