Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Eaun
Contributor III
Contributor III

Years between to dates

I need to calculate how many year between two date the formula I use to get the one date is

DATE#(date(AGGR(MAX(MAX_PLAN_YEAR+5478),PART_NUMBER),'YYYY')) this will give 2033 because the max date is 2019

DATE#(date(AGGR(MAX(MAX_PLAN_YEAR),PART_NUMBER),'YYYY')) this will give me 2019

what is the best way to get how many years difference between the dates ?

 

 

 

 

1 Solution

Accepted Solutions
Anil_Babu_Samineni

Try this?

Year(Date1)-Year(Date2)

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful

View solution in original post

1 Reply
Anil_Babu_Samineni

Try this?

Year(Date1)-Year(Date2)

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful