WordPress at a glance
function is not described

the_date_xml() WP 1.0.0

Outputs the date in iso8601 format for xml files.

No Hooks.

Return

Null. Nothing.

Usage

the_date_xml();

Changelog

Since 1.0.0 Introduced.

Code of the_date_xml() WP 5.5.2

<?php
function the_date_xml() {
	echo mysql2date( 'Y-m-d', get_post()->post_date, false );
}