WordPress at a glance
function is not described

the_weekday() WP 0.71

Display the weekday on which the post was written.

  • Global. WP_Locale. $wp_locale
Hooks in function
Return

Nothing (null).

Usage

the_weekday();

Code of the weekday: wp-includes/general-template.php VER 5.1.1

<?php
function the_weekday() {
	global $wp_locale;
	$the_weekday = $wp_locale->get_weekday( mysql2date( 'w', get_post()->post_date, false ) );

	/**
	 * Filters the weekday on which the post was written, for display.
	 *
	 * @since 0.71
	 *
	 * @param string $the_weekday
	 */
	echo apply_filters( 'the_weekday', $the_weekday );
}