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

Announcements
Only at Qlik Connect! Guest keynote Jesse Cole shares his secrets for daring to be different. Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Time Calculation

how do we calculate times in Qlikview? Like - if I start a process on 8/16/2010 8:00:00AM and I finish it at 10:30 that same morning, how can I calculate it to know that it took an hour and a half?

Thanks

2 Replies
brenner_martina
Partner - Specialist II
Partner - Specialist II

Hi polinochka,

the only possibility is to split the time in hours, minutes and seconds, than you can calulate and put it together to a timefield.

Not applicable
Author

something like this:

=floor((timestamp#('8/16/2010 10:30:00 AM', 'M/D/YYYY h:mm:ss TT')* 24 * 60)
- (timestamp#('8/16/2010 8:00:00 AM', 'M/D/YYYY h:mm:ss TT') * 24 * 60)) / 60