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
from nepali_date_library import month_npValue
month_np = [
"बैशाख",
"जेठ",
"असार",
"श्रावण",
"भाद्र",
"आश्विन",
"कार्तिक",
"मंसिर",
"पौष",
"माघ",
"फाल्गुण",
"चैत्र",
]Month Index Table
| Index | Devanagari Name | Romanized Name |
|---|---|---|
0 | बैशाख | Baisakh |
1 | जेठ | Jestha |
2 | असार | Asar |
3 | श्रावण | Shrawan |
4 | भाद्र | Bhadra |
5 | आश्विन | Aswin |
6 | कार्तिक | Kartik |
7 | मंसिर | Mangsir |
8 | पौष | Poush |
9 | माघ | Magh |
10 | फाल्गुण | Falgun |
11 | चैत्र | Chaitra |
Example Usage
from nepali_date_library import NepaliDate, month_np
date = NepaliDate("2081-07-15")
print(month_np[date.get_month()]) # "कार्तिक"Related
month_short_np: Short Devanagari month abbreviations.month_en: Romanized English month names.
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.