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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
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.