Community Spring Cleaning week is here! Join your fellow Maveryx in digging through your old posts and marking comments on them as solved. Learn more here!

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

Sylvana
8 - Asteroid

My solution

VenkateshJeyaraj
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)

Lucatelli
8 - Asteroid

Please find attached my solution.

cody_rush
7 - Meteor
Spoiler
cody_rush_0-1587678708950.png

 

FredNajjar
9 - Comet
Spoiler
Screenshot_11.png
Ben_Jeffreys
8 - Asteroid

My submission

Chiaroscuro
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
Chiaroscuro_1-1587993877758.png

Have a nice day! 🙂

jarrod
ACE Emeritus
ACE Emeritus

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
jarrod_0-1588015334133.png

 

#SnakingMyWayThruChallenges

Milanz
8 - Asteroid

done 😉

timestamp difference added to start dates

deepaprash
8 - Asteroid

Solved. Learnt modulo 🙂