Skip to main content
Announcements
Qlik Community Office Hours - Bring your Ideation questions- May 15th, 11 AM ET: REGISTER NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
kkarlste
Creator
Creator

field (minus) field = hours:minutes:second


Hi

I want to calculate this difference in the hours of this information.

What is formula for calculation?

(ready time) - (notification time) =   dd:hh.mm:ss
26.7.2017 8:41:57 - 26.7.2017 11:30:47 = dd:hh.mm:ss

time stamp style

Valmistumisaika - reagointiaika

timecalculate.JPG

5 Replies
sunny_talwar

May be this

Interval([ready time] - [notification time], 'D:hh:mm:ss')

Anil_Babu_Samineni

May be this?

Interval(Date(Date#([ready time], 'DD.MM.YYYY hh:mm:ss'), 'DD-MM-YYYY hh:mm:ss') - Date(Date#([nontification time], 'DD.MM.YYYY hh:mm:ss'), 'DD-MM-YYYY hh:mm:ss'), 'DD:hh:mm:ss')

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
Chanty4u
MVP
MVP

try this

interval(date1-date2,'hh')

kkarlste
Creator
Creator
Author

thanks Sunny Tawlar this works very well

Br Kalle

sunny_talwar

Awesome, please close the thread

Qlik Community Tip: Marking Replies as Correct or Helpful

Best,

Sunny