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.
SOLVED

Need help to find time difference

Padmanaban
5 - Atom

Hi,

 

I've problem to find out Time difference if second event falling on next day.  Refer the enclosed sample file

4 REPLIES 4
ponraj
13 - Pulsar

Attaching a sample workflow. 

 

Need help to find time difference.PNG

Padmanaban
5 - Atom

Hi Pons - Thanks for quick response.  if you find short work flow, please let me know

Thableaus
17 - Castor
17 - Castor

Hi @Padmanaban 

 

See if this is a short solution for you.

 

Solution1.PNG

 

IF Out  Time is less than In Time, then you divide the calculation in two:

Out Time - 00:00 + 23:59 - In Time + 1.

 

Cheers,

Padmanaban
5 - Atom

Hi Thableaus - Really its very simplified and great solution!  Thanks very much!

Labels
Top Solution Authors