@ilihub/millisecond-to-year
v1.0.1
Published
TypeScript functions for converting millisecond to year.
Downloads
20
Maintainers
Readme
@ilihub/millisecond-to-year
TypeScript functions for converting millisecond to year.
Installation
# if you're using pnpm
pnpm add @ilihub/millisecond-to-year
# or, if you're using npm
npm install @ilihub/millisecond-to-year
# or, if you're using yarn
yarn add @ilihub/millisecond-to-year
Usage
import { MillisecondToYear } from "@ilihub/millisecond-to-year";
const millisecond = 31536000000;
const year = MillisecondToYear(millisecond);
console.log(year); // 1
🛠️ 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.