Get Inspire insights from former attendees in our AMA discussion thread on Inspire Buzz. ACEs and other community members are on call all week to answer!

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

MarMu
8 - Asteroid

 

Good ol' 1 tool wunder. A round of applause for MOD

Had to use the solution file as input as DataTime_Now in input is 41 seconds earlier than output

 

Spoiler
challenge_10_start_file_MarMu.png
tammybrown_tds
8 - Asteroid

I used modulo formulas for the minutes, hours and seconds.

pmwillen
7 - Meteor
Spoiler
2018-08-09_16-46-02.png

A little more manual than I would have preferred, but it works.

myastarling
10 - Fireball

Here's my solution.

kat
12 - Quasar
Spoiler
Challenge #10.PNG
willstom1
8 - Asteroid

Here is my solution - rather than using floor or mod I changed data type to fixed decimal to truncate the result of the calculation:

 

Spoiler
Alteryx Challenge 10 Solution.PNG
AT_12
7 - Meteor

Step 1: Used DateTime Tool

Step 2: Formula Tool

DateTimeDiff= DateTimeDiff([DateTimeNOW],[DateTime],"seconds")

Days= DateTimeDiff([Time_Now],[TIMESTAMP],"days")

Hours= DateTimeDiff([Time_Now],[TIMESTAMP],"hours")-DateTimeDiff([Time_Now],[TIMESTAMP],"days")*24

Minutes: DateTimeDiff([Time_Now],[TIMESTAMP],"minutes")

-(DateTimeDiff([Time_Now],[TIMESTAMP],"hours")*60)

Seconds= DateTimeDiff([Time_Now],[TIMESTAMP],"seconds")

-(DateTimeDiff([Time_Now],[TIMESTAMP],"minutes")*60)

TimothyB
6 - Meteoroid

My attempt - Multi Row formula to update Time Now Column (for accuracy). Four Column Formula using TimeDateDiff and subtracting the formula value at the appropriate conversion scale. 

Spoiler
wk-10.pngwk-10rx.png

Updated with Formula configuration screenshot

 

 

MattDuncan
7 - Meteor

Solution attached :)

OllieClarke
15 - Aurora
15 - Aurora

Just the one tool this week:

Spoiler
challenge 10.PNGchallenge 10-2.PNG