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

Announcements
Independent validation for trusted, AI-ready data integration. See why IDC named Qlik a Leader: Read the Excerpt!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Computation on Time in QlikView

Could anyone tell me how to find the difference of two time expression? I was trying to find subtract a time expression from another time expression, so that the resulting value is in minutes. Could anyone help me with this. The two time fields are as follows:

=Time(TIme#(Num(WORK_END_TIME,'0000'),'hhmm'),'hh:mm')

=Time(TIme#(Num(WORK_START_TIME,'0000'),'hhmm'),'hh:mm')

How do I get the time difference\ minutes from these time strings.

1 Reply
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Subtract them and use the interval function to show the result in minutes: Interval( Time1 - Time2, 'm')


talk is cheap, supply exceeds demand