Skip to content

Javascript and Java utilities for converting between the Nepali Bikram Sambat (Vikram Samvat) and Gregorian (standard European) calendars.

Notifications You must be signed in to change notification settings

alxndrsn/bikram-sambat.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Please use https://github.com/medic/bikram-sambat as main repository

bikram-sambat.js

JS utilities for converting between the Nepali Bikram Sambat (Vikram Samvat) and Gregorian (standard European) calendars.

Installation

npm install bikram-sambat

Usage

var bs = require('bikram-sambat');

var days_in_baisakh_2000 = bs.daysInMonth(2000, 1);

console.log(bs.str_toBik_euro('2017-03-28'));
> 2073-12-15

console.log(bs.str_toBik_dev('2017-03-28'));
> २०७३-१२-१५

console.log(bs.str_toBik_text('2017-03-28'));
> १५ चैत २०७३

About

Javascript and Java utilities for converting between the Nepali Bikram Sambat (Vikram Samvat) and Gregorian (standard European) calendars.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published