Constants
week_np
Array containing full Devanagari Nepali names for all seven days of the week starting from Sunday.
The week_np constant provides the full Devanagari Nepali names for the seven days of the week, beginning with Aaitabar at index 0 and concluding with Shanibar at index 6. It enables complete localization for calendar headings, date labels, and event scheduling in Nepali language applications.
Import
from nepali_date_library import week_npValue
week_np = [
"आइतबार",
"सोमबार",
"मंगलबार",
"बुधबार",
"बिहिबार",
"शुक्रबार",
"शनिबार",
]Weekday Index Table
| Index | Devanagari Name | Romanized | English |
|---|---|---|---|
0 | आइतबार | Aaitabar | Sunday |
1 | सोमबार | Sombar | Monday |
2 | मंगलबार | Mangalbar | Tuesday |
3 | बुधबार | Budhabar | Wednesday |
4 | बिहिबार | Bihibar | Thursday |
5 | शुक्रबार | Sukrabar | Friday |
6 | शनिबार | Shanibar | Saturday |
Example Usage
from nepali_date_library import NepaliDate, week_np
date = NepaliDate("2081-07-15")
print(week_np[date.get_day()]) # "शुक्रबार"Related
week_short_np: Short Devanagari weekday abbreviations.week_en: Full English weekday names.
Advertisement
week_en
Array containing full English names for all seven days of the week starting from Sunday.
week_short_en
Array containing abbreviated English weekday names ordered from Sunday through Saturday.