1

I want jQuery or javascript age calculator, set the age of a user when their birthday is selected, I want do show from her age that a few days and months and years last.

For example:

user birthday is : 29/04/2010
The result should be like this: 2 years, 4 months, 5 days old.

What should be the best way to do this by jQuery or javascript?

4

1 に答える 1