note 119746 deleted from function.date by peehaa
| From: | peehaa@php.net | Date: | Fri, 06 Jan 2017 15:58:32 +0000 |
| Subject: | note 119746 deleted from function.date by peehaa | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-208718@lists.php.net to get a copy of this message | ||
Note Submitter: aalaap at gmail dot com
----
If you need to programatically get a list of all the supported date format identifiers, you can use
this simple function:
<?php
function getDateFormat() {
return str_split('dDjlNSwzWFmMntLoYyaABgGhHisueIOPTZcrU');
}
?>
PHP doesn't have a built-in identifier listing function, but it has one for listing timezone
names.