Constants
MONTH_NP
Array containing official Devanagari Nepali names of all twelve Bikram Sambat calendar months.
The MONTH_NP constant is an immutable array containing the standard Nepali names in Devanagari script for the twelve Bikram Sambat months. Each index maps directly to the zero based month number, starting at index 0 for Baisakh through index 11 for Chaitra, enabling accurate localization in user interfaces and printed documents.
Import
import { MONTH_NP } from "nepali-date-library";Value
export const MONTH_NP = [
"बैशाख",
"जेठ",
"असार",
"श्रावण",
"भाद्र",
"आश्विन",
"कार्तिक",
"मंसिर",
"पौष",
"माघ",
"फाल्गुण",
"चैत्र",
];Index Mapping
| Index | Devanagari Name | Romanized |
|---|---|---|
0 | "बैशाख" | Baisakh |
1 | "जेठ" | Jestha |
2 | "असार" | Asar |
3 | "श्रावण" | Shrawan |
4 | "भाद्र" | Bhadra |
5 | "आश्विन" | Aswin |
6 | "कार्तिक" | Kartik |
7 | "मंसिर" | Mangsir |
8 | "पौष" | Poush |
9 | "माघ" | Magh |
10 | "फाल्गुण" | Falgun |
11 | "चैत्र" | Chaitra |
Examples
Accessing Month Names by Index
import { MONTH_NP, NepaliDate } from "nepali-date-library";
const date = new NepaliDate("2081-04-01");
console.log(MONTH_NP[date.getMonth()]); // "श्रावण"Related
MONTH_SHORT_NP: Abbreviated Devanagari month names.MONTH_EN: English romanized month names.NepaliDate.getMonthName(): Static helper with formatting options.
Advertisement
MONTH_EN
Array containing standard romanized English names of all twelve Bikram Sambat calendar months.
MONTH_SHORT_EN
Array containing three letter abbreviated English names for all twelve Bikram Sambat months.