WordPress at a glance
function is not described

WP_Locale::get_weekday() public WP 2.1.0

Retrieve the full translated weekday word.

Week starts on translated Sunday and can be fetched by using 0 (zero). So the week starts with 0 (zero) and ends on Saturday with is fetched by using 6 (six).

{} It's a method of the class: WP_Locale{}

No Hooks.

Return

String. Full translated weekday.

Usage

$WP_Locale = new WP_Locale();
$WP_Locale->get_weekday( $weekday_number );
$weekday_number(int) (required)
0 for Sunday through 6 Saturday.

Changelog

Since 2.1.0 Introduced.

Code of WP_Locale::get_weekday() WP 5.5.1

<?php
public function get_weekday( $weekday_number ) {
	return $this->weekday[ $weekday_number ];
}