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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
prabhas277
Creator
Creator

difference b/w dates

Hi

I have 2 dates date 1=18/3/2015   and date 2 =18/3/2013

Now I want how many months difference between these 2 dates by using qlikview function?

Labels (1)
1 Solution

Accepted Solutions
maxgro
MVP
MVP

use year and month functions

Month(Date2)-Month(Date1)+(Year(Date2)-Year(Date1))*12

View solution in original post

2 Replies
maxgro
MVP
MVP

use year and month functions

Month(Date2)-Month(Date1)+(Year(Date2)-Year(Date1))*12

sibideepak
Creator II
Creator II