Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
fkeuroglian
Partner - Master
Partner - Master

sum and rest date time

Hi expert

I want to know rest date time format

for example i attached a qvw where i have CreateDate and complete date,  i want to rest CompletedDate - CreatedDate and get the result in HOURS

thank you a lot

Fernando

1 Solution

Accepted Solutions
its_anandrjs

Hi,

Try this way in any straight chart

Interval(COMPLETEDDATE - CREATEDATE,'hh')

Regards

Anand

View solution in original post

4 Replies
its_anandrjs

Hi,

Try this way in any straight chart

Interval(COMPLETEDDATE - CREATEDATE,'hh')

Regards

Anand

fkeuroglian
Partner - Master
Partner - Master
Author

Thank you Anand, and to add the minutes?

Anonymous
Not applicable

hh:mm

hh:mm:ss

Don't use MM - it is months, not minutes

its_anandrjs

Hi,

Then try

Interval(COMPLETEDDATE - CREATEDATE,'hh:mm:ss')

or

Interval(COMPLETEDDATE - CREATEDATE,'hh:mm')

Or

Interval(COMPLETEDDATE - CREATEDATE,'hh')

Yes do not use capital words like MM it is for Months.

Regards

Anand