laratech/bsdate

A laravel package which convert AD into BS.

Installs: 21

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 0

Open Issues: 0

pkg:composer/laratech/bsdate

v1.0.4 2020-12-07 05:41 UTC

This package is auto-updated.

Last update: 2025-10-15 15:21:17 UTC


README

A laravel date package which convert AD to BS and viceversa.

Packagist Version Packagist Downloads Packagist License

#Installation

You can install the package via composer:

composer require laratech/bsdate

Usage

Bsdate::eng_to_nep(2016,12,31); //For converting AD TO BS
Bsdate::nep_to_eng(2073,09,16); //For converting BS TO AD
// output 
Array
(
    [year] => २०७३
    [month] => ९
    [date] => १६
    [day] => शनिबार
    [nmonth] => पुष
    [num_day] => ७
)