Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to convert seconds into a number/integer

Hi all,

What do I need to do to this expression to convert it into a number?

Interval(SchedArriv-ActualArrive,'ss') .

I've tried a SUM and a NUM, but it returns incorrect values.

Thanks

1 Solution

Accepted Solutions
Gysbert_Wassenaar

Leave out the interval. Dates are numbers so simply subtracting two dates from each other will result in another number. If you want you can use the num function to specify a format: num(ScheArriv-ActualArrive,'#,###.00')


talk is cheap, supply exceeds demand

View solution in original post

2 Replies
Gysbert_Wassenaar

Leave out the interval. Dates are numbers so simply subtracting two dates from each other will result in another number. If you want you can use the num function to specify a format: num(ScheArriv-ActualArrive,'#,###.00')


talk is cheap, supply exceeds demand
Not applicable
Author

Thanks again, Gysbert!