Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Independent validation for trusted, AI-ready data integration. See why IDC named Qlik a Leader: Read the Excerpt!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Calculate date time difference between two dates

Hello Friends,

I want to calculate date time difference between two dates.

For Example.

From date: 20/05/2012 15:30:00

To date: 22/05/2012 10:00:00

Need to calculate only this time --> 08:00 - 18:00

So according to above time

difference is:

2:30 Hours on 20/05/2012

10:00 Hours on 21/05/2012

2:00 Hours on 22/05/2012

Total Time Difference: 14:30 Hours

Can you please help me how to solve this?

Thanks

1 Solution

Accepted Solutions
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

See here or here


talk is cheap, supply exceeds demand

View solution in original post

1 Reply
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

See here or here


talk is cheap, supply exceeds demand