Interactive Nepali Calendar (BS)

Browse any Bikram Sambat month. Click a day to copy its Gregorian ISO date, or drag the day onto a form field to fill it. Fully client-side and works offline.

How to use this calendar on any website

Include the library script on your site so that click-to-copy and drag-to-fill work on your own forms.

1. Full interactive calendar on your own page

Add the script once, then mount the calendar wherever you want. Drag-and-drop and clipboard copy will work for every input on that page.

<!-- 1. Include the library (once per page) -->
<script src="https://pbd.com.np/tools/nepali-calendar/nepali-calendar.js"></script>

<!-- 2. Place a container -->
<div id="my-calendar"></div>

<!-- 3. Mount it -->
<script>
  NepaliCalendar.mount('#my-calendar', {
    lang: 'ne',
    theme: 'light',
    timeZone: 'Asia/Kathmandu',
    showAD: true,
    langToggle: true
  });
</script>
Drag-to-fill tip: After the script is loaded, any day cell can be dragged onto a normal <input> or <textarea> on the same page. The field receives the ISO date (yyyy-mm-dd). Readonly fields are filled by default.

2. Auto-mount with a data attribute

If you prefer zero JavaScript on your side:

<div data-nepali-calendar
     data-lang="ne"
     data-theme="auto"
     data-time-zone="Asia/Kathmandu"></div>
<script src="https://pbd.com.np/tools/nepali-calendar/nepali-calendar.js"></script>

Useful API helpers

NepaliCalendar.toAD(2082, 7, 16);   // → "2025-11-02"
NepaliCalendar.toBS("2025-11-02");  // → { year: 2082, month: 7, day: 16 }
NepaliCalendar.today("Asia/Kathmandu");

Frequently asked questions

How do I copy a date?

Click any day (or focus it and press Enter). The Gregorian ISO date is copied to the clipboard.

How does drag-to-fill work?

Drag a day cell and drop it on any text or date input on the same page. The field is set to the ISO date.

What BS years are supported?

BS 2000–2090 (approximately AD 1943–2034). Years through 2083 are verified. Later years are provisional.

Can I use this calendar on my own website?

Yes. Include the script and call NepaliCalendar.mount() so click-to-copy and drag-to-fill work on your forms.

Does it work offline?

Yes. After the first visit the page and library work fully offline.

Is the data accurate for official documents?

The calendar table matches common sources used in Nepal. Always double-check critical legal or financial dates, especially after BS 2083.

Calendar data covers BS 2000–2090. Years after BS 2083 are marked provisional.