Languages: English • 日本語 (Add your language)
Displays the date of the post in YYYY-MM-DD format (ex: 2004-09-24). This tag must be used within The Loop.
<?php the_date_xml(); ?>
This tag does not accept any parameters.
<p>Date posted: <?php the_date_xml(); ?></p>
get_calendar(), get_day_link(), get_month_link(), get_the_date(), get_the_time(), get_year_link(), single_month_title(), the_date(), the_date_xml(), the_modified_date(), get_the_modified_date(), the_modified_time(), get_the_modified_time(), the_time()