Returns the date formatted in the localized language. To display in languages other than the server's default, you need to change the locale with <a href="http://php.net/setlocale">http://php.net/setlocale</a> setlocale(). The available localizations depend on which ones are installed on your web server.
Parameters
$date_formatstringoptional
Supports any PHP date format from <a href="http://php.net/strftime">http://php.net/strftime</a> (empty for the raw data)Default: '%c'
Signature, return type and hooks compared across 5 parsed releases.
6.9.7
Return type changed from int|string|null to string|null|false.verified against source
1.0
Introduced.from the docblock
About this page
Parsed data
Generated from the wordpress-develop 6.7.7 tag, from src/wp-includes/SimplePie/src/Item.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.
Corrections
Something wrong on this page? Report it and it gets fixed in the next regeneration.