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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Operation with data time format

Hi all,

How can I make the difference between two fields time format and get the result in seconds?

Sample:

(Time (EndTime, 'hh.mm.ss')) - (Time (StartTime, 'hh.mm.ss'))

Thank All

Labels (1)
2 Replies
Not applicable
Author

Try this.

Interval((Time (EndTime, 'hh.mm.ss'))-(Time (StartTime, 'hh.mm.ss')), 'SS')

tresB
Champion III
Champion III

Try inteval(), like:

Interval(

(Time (EndTime, 'hh.mm.ss')) - (Time (StartTime, 'hh.mm.ss'))

, 's')