A WordPress-centric search engine for devs and theme authors



the_date_xml ›

Since1.0.0
Deprecatedn/a
the_date_xml ( No parameters )
Defined at:
Codex:

Outputs the date in iso8601 format for xml files.



Source

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