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

General Discussions

Discuss any topics that are not product-specific here.
SOLVED

Find out duration from two Datetime excluding weekend day and times

ShivAlt
7 - Meteor

Hello Team,

 

I have a scenario in which I want to find the difference between two Datetime variables and the criteria is we should not include weekends I have tried so many ways but am not able to figure this out. 

 

Raised                             FirstResponse

05/26/2022 06:51          05/28/2022 13:54

 

Output:

41:09

 excluded 13:54PM hours

3 REPLIES 3
Amol_Telore
11 - Bolide

Hi @ShivAlt 

 

Here is my solution. Let me know in case of any questions.

 

Amol_Telore_0-1657617273966.png

 

ShivAlt
7 - Meteor

Can't we have to last output in decimal or numbers?(41.09)

Amol_Telore
11 - Bolide

@ShivAlt Updated the workflow to output data in decimal format. 

Labels
Top Solution Authors