Converts english date string to nepali date string, always returns in the format of YYYY-MM-DD
,
support from 2000 BS
to 2100 BS
only.
npm i nepali-dayjs-date-converter
yarn add nepali-dayjs-date-converter
pnpm add nepali-dayjs-date-converter
import {ad2bs} from "nepali-dayjs-date-converter"
const convertedNepaliDate = ad2bs('2024-06-14'); // 2081-02-32
import {bs2ad} from "nepali-dayjs-date-converter"
const convertedNepaliDate = bs2ad('2081-02-32'); // 2024-06-14