Constants
week_en
Array containing full English names for all seven days of the week starting from Sunday.
The week_en constant is an array containing the full English weekday names ordered from Sunday at index 0 through Saturday at index 6. This ordering matches the standard JavaScript and Python day index convention returned by date methods, allowing seamless weekday lookups in English interfaces.
Import
from nepali_date_library import week_enValue
week_en = [
"Sunday",
"Monday",
"Tuesday",
"Wednesday",
"Thursday",
"Friday",
"Saturday",
]Weekday Index Table
| Index | English Name | Nepali Equivalent |
|---|---|---|
0 | "Sunday" | Aaitabar |
1 | "Monday" | Sombar |
2 | "Tuesday" | Mangalbar |
3 | "Wednesday" | Budhabar |
4 | "Thursday" | Bihibar |
5 | "Friday" | Sukrabar |
6 | "Saturday" | Shanibar |
Example Usage
from nepali_date_library import NepaliDate, week_en
date = NepaliDate("2081-07-15")
day_index = date.get_day()
print(f"Weekday: {week_en[day_index]}") # "Friday"Related
week_short_en: Abbreviated three letter English weekday names.week_np: Full Devanagari Nepali weekday names.
Advertisement
month_short_np
Array containing abbreviated Devanagari Nepali names for all twelve Bikram Sambat calendar months.
week_np
Array containing full Devanagari Nepali names for all seven days of the week starting from Sunday.