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() the date xml WP 5.6
function the_date_xml() {
echo mysql2date( 'Y-m-d', get_post()->post_date, false );
}