get-age calculates the age in years for a given birth date
$ npm install --save get-age
var getAge = require('get-age')
getAge('1990-01-09')
// => 25Required
Type: date
The birth date that you'd like to get the age of in iso format YYYY-MM-DD
| Name | Name | Last commit date | ||
|---|---|---|---|---|
get-age calculates the age in years for a given birth date
$ npm install --save get-age
var getAge = require('get-age')
getAge('1990-01-09')
// => 25Required
Type: date
The birth date that you'd like to get the age of in iso format YYYY-MM-DD