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: 
Yash7
Contributor II
Contributor II

Date Time difference in decimal

How can I get the difference between two date/time values in a decimal format. 

So 11/06/2024 06:34 - 10/06/2024 07:51 should be 0.95 difference 

 

Labels (4)
2 Solutions

Accepted Solutions
lennart_mo
Creator II
Creator II

Hi @Yash7,

just use the num()-function, so your formula should look something like this:

=num( YourTimestamp1 - YourTimestamp2 )

View solution in original post

Yash7
Contributor II
Contributor II
Author

Thank you so much, that works!

View solution in original post

2 Replies
lennart_mo
Creator II
Creator II

Hi @Yash7,

just use the num()-function, so your formula should look something like this:

=num( YourTimestamp1 - YourTimestamp2 )

Yash7
Contributor II
Contributor II
Author

Thank you so much, that works!