How to get the number of years, months and days between two dates?

Why don’t you try this extension?

Convert the dates into millis and use this extension