src/Utilities/Date.php
public static function getDayOfWeekName($year, $month, $day)
    {
        $hour = 0;
        $minute = 0;
        $second = 0;

        $time = mktime($hour, $minute, $second, $month, $day, $year);
        $name = strftime('%A', $time);

        $encoding = mb_detect_encoding($name);

        if (false === $encoding) {
            $name = mb_convert_encoding($name, 'UTF-8', 'ISO-8859-2');
        }

        return $name;
    }
public static function getDayOfWeekName($year, $month, $day)
    {
        $hour = 0;
        $minute = 0;
        $second = 0;

        $time = mktime($hour, $minute, $second, $month, $day, $year);
        $name = strftime('%A', $time);

        $encoding = mb_detect_encoding($name);

        if (false === $encoding) {
            $name = mb_convert_encoding($name, 'UTF-8', 'ISO-8859-2');
        }

        return $name;
    }
public static function getDayOfWeekName ( $ year , $ month , $ day ) { $ hour = 0 ; $ minute = 0 ; $ second = 0 ; $ time = mktime ( $ hour , $ minute , $ second , $ month , $ day , $ year ) ; $ name = strftime ( '%A' , $ time ) ; $ encoding = mb_detect_encoding ( $ name ) ; if ( false === $ encoding ) { $ name = mb_convert_encoding ( $ name , 'UTF-8' , 'ISO-8859-2' ) ; } return $ name ; }
Returns name of weekday based on locale

@param int $year  The year value
@param int $month The month value
@param int $day   The day value
@return string
Returns name of weekday based on locale