Nepali DateNepali DateBikram Sambat Date Engine
Constants

PackagistConstants::$WEEK_NP

Array containing full Devanagari Nepali names for all seven days of the week starting from Sunday.

The Constants::$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

use NepaliDateLibrary\Helper\Constants;

Value

Constants::$WEEK_NP = [
    "आइतबार",
    "सोमबार",
    "मंगलबार",
    "बुधबार",
    "बिहिबार",
    "शुक्रबार",
    "शनिबार",
];

Weekday Index Table

IndexDevanagari NameRomanizedEnglish
0आइतबारAaitabarSunday
1सोमबारSombarMonday
2मंगलबारMangalbarTuesday
3बुधबारBudhabarWednesday
4बिहिबारBihibarThursday
5शुक्रबारSukrabarFriday
6शनिबारShanibarSaturday

Example Usage

use NepaliDateLibrary\NepaliDate;
use NepaliDateLibrary\Helper\Constants;

$date = new NepaliDate('2081-07-15');
echo Constants::$WEEK_NP[$date->getDay()]; // "शुक्रबार"

Advertisement

On this page