Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
manojkulkarni
Partner - Specialist II
Partner - Specialist II

Date Difference

Hi

Difference of these dates 2015-03-31 & 2014-12-01, i am getting 121 days Qlikview. But same thing in excel & sql is giving 120 days.

Actually it should have been 120 days. What could be the reason for this ?

4 Replies
sinanozdemir
Specialist III
Specialist III

Hi Manoj,

By using Interval() function, I am getting 120 days:

Capture.PNG

robert_mika
Master III
Master III

Double check your calculation.

2015-07-11_043716.jpg

sinanozdemir
Specialist III
Specialist III

Honestly, I didn't know you could just do what you did in order to get the day difference between two days.

Thanks

robert_mika
Master III
Master III

You are welcome.

To close this thread you can mark answers as Helpful or answered.