
Contributor III
2019-06-18
11:49 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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,384 Views
1 Solution
Accepted Solutions
2019-06-19
03:35 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
1 Reply
2019-06-19
03:35 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
