Nepali DateNepali DateBikram Sambat Date Engine
Constants

PackagistConstants::$WEEK_SHORT_EN

Array containing abbreviated English weekday names ordered from Sunday through Saturday.

The Constants::$WEEK_SHORT_EN constant contains short three letter English abbreviations for each day of the week, starting with Sun at index 0 and ending with Sat at index 6. These concise labels are widely used in monthly calendar headers, compact date selectors, and agenda views.


Import

use NepaliDateLibrary\Helper\Constants;

Value

Constants::$WEEK_SHORT_EN = [
    "Sun",
    "Mon",
    "Tue",
    "Wed",
    "Thu",
    "Fri",
    "Sat",
];

Weekday Abbreviation Table

IndexAbbreviationFull Name
0"Sun"Sunday
1"Mon"Monday
2"Tue"Tuesday
3"Wed"Wednesday
4"Thu"Thursday
5"Fri"Friday
6"Sat"Saturday

Example Usage

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

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

Advertisement

On this page