the_date_xml()
Outputs the date in iso8601 format for xml files.
Description Description
Source Source
File: wp-includes/general-template.php
function the_date_xml() { echo mysql2date( 'Y-m-d', get_post()->post_date, false ); }
Expand full source code Collapse full source code View on Trac
Changelog Changelog
Version | Description |
---|---|
1.0.0 | Introduced. |
User Contributed Notes User Contributed Notes
You must log in before being able to contribute a note or feedback.
Outputs the date in iso8601 format (especially used for XML files)