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: 
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

2 Replies
Not applicable
Author

Try this.

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

tresesco
MVP
MVP

Try inteval(), like:

Interval(

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

, 's')