nrjadkry / nepali-date-utils

Python package to convert English date (AD) into Nepali date (BS)

Home Page:https://pypi.org/project/nepali-date-utils/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Nepali Date Utils

PyPI version CI status Downloads

Overview

This lightweight package allows easy conversion between Nepali (BS) and English (AD) dates. Simplify date transformations in your applications with this straightforward utility.

Installation

You can install the package via pip:

pip install nepali_date_utils

To convert English date (AD) to Nepali date (BS):

from nepali_date_utils import converter
converter.ad_to_bs("2024/02/03")

To convert Nepali date (BS) to English date (AD):

from nepali_date_utils import converter
converter.bs_to_ad("2080/02/03")

About

Python package to convert English date (AD) into Nepali date (BS)

https://pypi.org/project/nepali-date-utils/

License:GNU General Public License v3.0


Languages

Language:Python 100.0%