Codex tools: Log in / create account
This function has been deprecated. That means it has been replaced by a new function or is no longer supported, and may be removed from future versions. All code that uses this function should be converted to use its replacement if one exists.
Contents |
Displays the day of the week (e.g. Friday). This tag must be used within The Loop.
To replace this tag, use the_time() with 'l' as the format string:
<?php the_time('l'); ?>
See Formatting Date and Time for information on date and time format string use.
<?php the_weekday() ?>
<p>This was posted on a <?php the_weekday() ?>.</p>
This tag does not accept any parameters.
the_date_xml,
the_date,
the_time,
the_modified_date,
the_modified_time,
get_the_time,
single_month_title,
get_calendar,
the_weekday,
the_weekday_date