Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Yeeshika
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
Creator

Hi @Yeeshika,

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

=num( YourTimestamp1 - YourTimestamp2 )

View solution in original post

Yeeshika
Contributor II
Contributor II
Author

Thank you so much, that works!

View solution in original post

2 Replies
lennart_mo
Creator
Creator

Hi @Yeeshika,

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

=num( YourTimestamp1 - YourTimestamp2 )

Yeeshika
Contributor II
Contributor II
Author

Thank you so much, that works!