Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
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!