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

shahryal
8 - Asteroid
Spoiler
Spoiler 

clipboard_image_0.png
abhi__98
7 - Meteor

here is my solution

aazimh
8 - Asteroid
Spoiler
clipboard_image_0.png

Decided to add 41 seconds to the Time_Now to be consistent with the output file. 

ecarter-93
8 - Asteroid

Complete!solution 10 image.PNG

Spoiler
 
Adam_Dooley
8 - Asteroid

 A bit frustrating to add 41 seconds to make it work, but still neat to do it all within one Formula tool.

 

Spoiler
DateTimeDiff(DateTimeAdd([Time_Now],41,'seconds'),[TIMESTAMP],'days')
DateTimeDiff(DateTimeAdd([Time_Now],41,'seconds'),[TIMESTAMP],'hours')-(ToNumber([Days])*24)
DateTimeDiff(DateTimeAdd([Time_Now],41,'seconds'),[TIMESTAMP],'minutes')-DateTimeDiff([Time_Now],[TIMESTAMP],'hours')*60
DateTimeDiff(DateTimeAdd([Time_Now],41,'seconds'),[TIMESTAMP],'seconds')-DateTimeDiff(DateTimeAdd([Time_Now],41,'seconds'),[TIMESTAMP],'minutes')*60
JennyMartin
9 - Comet
Spoiler
AWC10.PNG

Nice for practising with the datetimediff function.

Yoyo_Master
6 - Meteoroid

One tool ezpz 🙂

kylemhabe
8 - Asteroid

My solution using one formula tool.

 

Spoiler
DateTimeDiff([Time_Now],[TIMESTAMP],"days")
DateTimeDiff([Time_Now],[TIMESTAMP],"hours")-([Days]*24)
DateTimeDiff([Time_Now],[TIMESTAMP],"minutes")-DateTimeDiff([Time_Now],[TIMESTAMP],"hours")*60
DateTimeDiff([Time_Now],[TIMESTAMP],"seconds")-DateTimeDiff([Time_Now],[TIMESTAMP],"minutes")*60
jusdespommes
8 - Asteroid

Knew I had to use it but still had to go through the forums to see the utilisation of the modulo function! Thank you 🙂

 

Spoiler
WeeklyChallenge10.PNG
timrains
8 - Asteroid

Started overcomplicated but stripped back. 

 

Spoiler
Week10.PNG