Nepali DateNepali DateBikram Sambat Date Engine
Constants

PackagistConstants::$WEEK_SHORT_NP

Array containing short Devanagari abbreviations for each day of the week starting from Sunday.

The Constants::$WEEK_SHORT_NP constant supplies short Devanagari abbreviations for each day of the week, beginning with index 0 for Aaitabar and ending with index 6 for Shanibar. These compact symbols are ideal for calendar grid headers and mobile date selectors where horizontal width is limited.


Import

use NepaliDateLibrary\Helper\Constants;

Value

Constants::$WEEK_SHORT_NP = [
    "आ",
    "सो",
    "मं",
    "बु",
    "बि",
    "शु",
    "श",
];

Weekday Abbreviation Table

IndexShort DevanagariFull DevanagariEnglish
0आआइतबारSunday
1सोसोमबारMonday
2मंमंगलबारTuesday
3बुबुधबारWednesday
4बिबिहिबारThursday
5शुशुक्रबारFriday
6शशनिबारSaturday

Example Usage

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

$date = new NepaliDate('2081-07-15');
echo Constants::$WEEK_SHORT_NP[$date->getDay()]; // "शु"

Advertisement

On this page