ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests Early 2026. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more here
Start Free Trial

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

emily_cummings
メテオロイド

solution:

Rob-Silk
アステロイド

My solution below (two similar ways, but the seconds feels more elegant):

スポイラ
Both solutions use the DateTimeDiff() function, but the first uses the difference in seconds then works backwards from the number of days to the number of seconds, thereby requiring increasingly long formulae for each subsequent field, where as the second solution uses the difference in days, hours, minutes, seconds and applies the Mod() function to get the remainder for hours-to-seconds fields
challenge_10_RS_screencap.PNG
B_SarkadiNagy
メテオロイド
スポイラ
2023-12-06_15h53_02.png
putu_w_erata
アステロイド
スポイラ
Capture.JPG

caitlynmcintyre
コメット

I added 41 seconds to my input so that i could validate it matched the output :)

 

スポイラ
10.png
phillipcjang
アステロイド
スポイラ
challenge_10.png

Rohit_Pokhriyal
メテオール

Thank you!

Tonio6789
アステロイド

Challenge #10: Date Time Calculations

nikhil_jaju
メテオール

Solution

SanjeevDosanjh
メテオール
スポイラ
Screenshot 2024-01-04 141523.png