Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
scotly-victor
Creator II
Creator II

Time interval

Hi Everyone ,

I have requirements I need get  interval between current date and previous date by hour

for example 1/30/2016 10:30:23 am

                   1/30/2016 12:30:30 pm

my output is  2 hours

Please help me out

13 Replies
sunny_talwar

These are all within the same hour? What output do you expect to see?

sunny_talwar

Also are there any other dimension where this needs to reset?

scotly-victor
Creator II
Creator II
Author

No,not same hour

I wanted to show current date  and previous date by hour difference

My Output : 2 (hh) 

lakshmikandh
Specialist II
Specialist II

Hi,

Please have a look at these time functions as well.

https://help.qlik.com/en-US/sense/3.1/Subsystems/Hub/Content/Scripting/DateAndTimeFunctions/date-tim...

This will be helpful in future works.

Thanks,

Lakshmikandh