@ilihub/year-to-millisecond
v1.0.1
Published
TypeScript functions for converting year to millisecond.
Downloads
20
Maintainers
Readme
@ilihub/year-to-millisecond
TypeScript functions for converting year to millisecond.
Installation
# if you're using pnpm
pnpm add @ilihub/year-to-millisecond
# or, if you're using npm
npm install @ilihub/year-to-millisecond
# or, if you're using yarn
yarn add @ilihub/year-to-millisecond
Usage
import { YearToMillisecond } from "@ilihub/year-to-millisecond";
const year = 1;
const millisecond = YearToMillisecond(year);
console.log(millisecond); // 31536000000
🛠️ Online Tool ⚡
You can use this npm package as an online tool by clicking on the link provided 👉🏻 here 👈🏻
Sponsors & Backers
Support the development of new open-source projects from ilihub through crowdfunding.
The core of ilihub is our crowd-funded open-source projects, licensed under the permissive MIT license. Sponsorship increases the rate of bug fixes, documentation improvements, and feature development.