Skip to main content
Announcements
The way to achieve your own success is the willingness to help somebody else. Go for it!
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)

Before develop something, think If placed (The Right information | To the right people | At the Right time | In the Right place | With the Right context)

View solution in original post

1 Reply
Anil_Babu_Samineni

Try this?

Year(Date1)-Year(Date2)

Before develop something, think If placed (The Right information | To the right people | At the Right time | In the Right place | With the Right context)