Getting Years, Months and days from a day of born

I want to know if you a plugin or script that i can obtain the following
results:

day of born: 21/09/87
results: 24 years, 7 months, 20 days(moreless)

i know it should be a residual calculation but i am wondering if you
know or have seen a way through this.

Regards,

Hi Gonzalez,

We can create script using present date and date of born.

Years = present year - birth year
Days= present date - birth date
Months = present month - birth month

Is it you looking for?

Thanks

You’re looking for the time_diff gem.

https://github.com/abhidsm/time_diff

Dheeraj K.