Nepali DateNepali DateBikram Sambat Date Engine
Constants

PackagistConstants::$WEEK_EN

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

The Constants::$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 day index convention returned by date methods, allowing seamless weekday lookups in English interfaces.


Import

use NepaliDateLibrary\Helper\Constants;

Value

Constants::$WEEK_EN = [
    "Sunday",
    "Monday",
    "Tuesday",
    "Wednesday",
    "Thursday",
    "Friday",
    "Saturday",
];

Weekday Index Table

IndexEnglish NameNepali Equivalent
0"Sunday"Aaitabar
1"Monday"Sombar
2"Tuesday"Mangalbar
3"Wednesday"Budhabar
4"Thursday"Bihibar
5"Friday"Sukrabar
6"Saturday"Shanibar

Example Usage

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

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

Advertisement

On this page