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

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
julruiz123
Partner - Creator
Partner - Creator

Seconds between two Times

Hi,

In a table i have two times, what i need is to know how many seconds have elapsed between the two times.

With this sintax i get the hour and minuts but i need the seconds.

interval([Hora Fin] - [Hora Inico]) as Time

Thanks

Labels (1)
1 Solution

Accepted Solutions
Miguel_Angel_Baeyens
Support
Support

Hi,

You are almost there! Use the following format to show the result in seconds:

Interval([Hora Fin] - [Hora Inicio], 's') as Time

The 's' will make the Interval() be displayed in seconds.

Hope that helps.

Miguel Angel Baeyens

BI Consultant

Comex Grupo Ibérica

View solution in original post

2 Replies
Miguel_Angel_Baeyens
Support
Support

Hi,

You are almost there! Use the following format to show the result in seconds:

Interval([Hora Fin] - [Hora Inicio], 's') as Time

The 's' will make the Interval() be displayed in seconds.

Hope that helps.

Miguel Angel Baeyens

BI Consultant

Comex Grupo Ibérica

julruiz123
Partner - Creator
Partner - Creator
Author

Thanks!

You're right