In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Set up your security questions now so you can recover your account anytime, just log out and back in to get started. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.

Calculate Difference Between Two DateTimes and Sum Up the Difference

RonGatmaitan
8 - Asteroid

Hi all,

 

I have a table that has a few fields and three of them are - employee, task start date and task end date. I basically have to get how long it takes for an employee to finish a particular task, and then sum up the time spent to accomplish all their tasks for a particular period. Ideally, the format should be in HH:MM:SS. Do note that the hours may exceed 24 hours, so I may not be able to use the time format. Best and simplest way to do this, please.

 

Thank you.

Ron

2 REPLIES 2
binu_acs
21 - Polaris

One way of doing this the the DateTimeDiff function

 

binuacs_0-1660992049207.png

 

RonGatmaitan
8 - Asteroid

Thank you very much, @binu_acs! I would have loved to have it in a format where all the employees' total could be summed up in Excel, but this will do. :) Again, thank you.

Labels
Top Solution Authors