@asif92/age-calculator

0.0.2 • Public • Published

age-calculator

Get age in different formats.

npm GitHub license GitHub issues GitHub forks GitHub stars

Install

$ npm install findage --save

Usage

const getAge = require("findage");

// Input Format (MM/DD/YYYY)

getAge.fullAge("01/01/2000");		// 19 years 7 months 16 days
getAge.inMonths("01/01/2000");		// 235 months 16 days
getAge.inHours("01/01/2000");		// 172032 hours
getAge.inMinutes("01/01/2000");		// 10321920 minutes
getAge.inSeconds("01/01/2000");		// 619315200 seconds

License

The MIT License. Please see License File for more information.

Package Sidebar

Install

npm i @asif92/age-calculator

Weekly Downloads

4

Version

0.0.2

License

MIT

Unpacked Size

12.7 kB

Total Files

5

Last publish

Collaborators

  • asif92