You are here

private function Date::dayName in PersianTools 7

returns names of the weekday

@access private

Parameters

int $dayValue:

Return value

string

1 call to Date::dayName()
Date::format in includes/Date.php
this is a clone of the internal php function date() with a few exceptions in the acceptable parameters

File

includes/Date.php, line 326

Class

Date

Namespace

Shamsi

Code

private function dayName($dayValue) {
  $weekAlpha = array(
    'شنبه',
    'يکشنبه',
    'دوشنبه',
    'سه شنبه',
    'چهارشنبه',
    'پنج شنبه',
    'جمعه',
  );
  return $weekAlpha[$dayValue];
}