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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
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
Champion III
Champion III

Hi,

Try this way in any straight chart

Interval(COMPLETEDDATE - CREATEDATE,'hh')

Regards

Anand

View solution in original post

4 Replies
its_anandrjs
Champion III
Champion III

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
Champion III
Champion III

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