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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
RVeitch_84
Creator
Creator

Subtract Time in hh:mm

I'm looking for some help, I need to subtract a Start_Time from End_Time to get the overall duration.

Here is a sample of my data.

Start_Time End_Time   Total_Time duration

11:00 13:09 2:09

18:03 21:33 3:30

Or another option would be as a date/time

Start Date_Time End Date_Time    Total_Time duration

2021-09-01 11:00:00.0000000 2021-09-01 13:09:00.0000000

2:09

2021-09-01 18:03:00.0000000 2021-09-01 21:33:00.0000000

3:30

Thanks for any help..

Labels (3)
1 Solution

Accepted Solutions
gjeremy1617088143

Hi @Robert Veitch​ , maybe this article can be helpfull for you :

https://www.geeksforgeeks.org/find-the-duration-of-difference-between-two-dates-in-java/

send me love and kudos

View solution in original post

1 Reply
gjeremy1617088143

Hi @Robert Veitch​ , maybe this article can be helpfull for you :

https://www.geeksforgeeks.org/find-the-duration-of-difference-between-two-dates-in-java/

send me love and kudos