Skip to content

nrjadkry/nepali-date-utils

Repository files navigation

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")