@ilihub/second-to-year
TypeScript functions for converting second to year.
Installation
pnpm add @ilihub/second-to-year
npm install @ilihub/second-to-year
yarn add @ilihub/second-to-year
Usage
import { SecondToYear } from "@ilihub/second-to-year";
const second = 31536000;
const year = SecondToYear(second);
console.log(year);
🛠️ Online Tool ⚡
You can use this npm package as an online tool by clicking on the link provided 👉🏻 here 👈🏻
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.