Hi All,
I am trying to get days, months, and years difference between two dates, taking into consideration leap years ?
any hint?
Calculating the number of days is easy, but it's not clear what how you want to calculate the number of months and years. Have you already thought about it? If so, please share your requirements with us. If not, it should be your next step.
Hi ButterFly,
You can use the intvno function to get, days, months and year difference.
Please check below:
docs.microsoft.com/.../xpp-business-run-time-functions
axforce.wordpress.com/.../
You need to separately get day, month, year for both the date and subtract each other.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Andrés Arias as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Sohaib Cheema 756 User Group Leader
André Arnaud de Cal... 629 Super User 2025 Season 2
Martin Dráb 514 Most Valuable Professional