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

AD
Alteryx
Alteryx
Spoiler
AntonDovhulia_0-1579623576812.png
paulburrows
8 - Asteroid

An introduction to the mod function today 🙂

Ronald_Do
7 - Meteor

This exercise was a great way to learn the "Mod" command! 

GaurVitul
7 - Meteor
 
TwylaXBlack
8 - Asteroid

One Formula tool solution attached,

Spoiler
Spoiler

 

maheensayeed
8 - Asteroid

Here's my solution

puneet707
6 - Meteoroid

My Solution

Spoiler
For days-         DateTimeDiff([Time_Now],[TIMESTAMP],"days")
For Hours-       DateTimeDiff([Time_Now],[TIMESTAMP],"hours")-[Days]*24
For Minutes-    DateTimeDiff([Time_Now],[TIMESTAMP],"Minutes")-[Days]*24*60-[Hours]*60
For Seconds-  DateTimeDiff([Time_Now],[TIMESTAMP],"seconds")-[Days]*24*60*60-[Hours]*60*60-[Minutes]*60
AryCardoso
8 - Asteroid
 
jchua3
7 - Meteor

solved with a longer method using regex but easier if it's hard to grapple with converting all the units together.

LevL
7 - Meteor

done

Spoiler
LevL_1-1580916421370.png