the_date_xml()WP 1.0.0

Outputs the date in iso8601 format for xml files.

No Hooks.

Return

null. Nothing (null).

Usage

the_date_xml();

Changelog

Since 1.0.0 Introduced.

the_date_xml() code WP 6.6.2

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