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

Announcements
Independent validation for trusted, AI-ready data integration. See why IDC named Qlik a Leader: Read the Excerpt!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Finding number of hours between dates

How do I find the number of hours from yesterday and now ?

Lets say hours between

2015-05-17 23:59:02    and now()

I must be able to validate this formula using a textbox

1 Solution

Accepted Solutions
robert_mika
Master III
Master III

=(now()-'2015-05-17 23:59:02')*24

View solution in original post

2 Replies
robert_mika
Master III
Master III

=(now()-'2015-05-17 23:59:02')*24

Not applicable
Author

you could also try this:

=interval(now()-'2015-05-17 23:59:02','hh')