0.0.2 • Published 1 year ago

get-current-age v0.0.2

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

get-current-age

This package returns the current age depending on the birthdate you input.

Installation

Install the package:

npm install get-current-date

Usage

Include the package in your JavaScript:

const age = require("get-current-date");

Get age:

const day = 30,
      month = 9,
      year = 2007;
       
const myAge = age(day, month, year);

console.log("I am " + myAge + " years old");
0.0.2

1 year ago

0.0.1

1 year ago

0.0.0

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago

0.1.0

1 year ago