note 102422 added to function.strftime
[email protected] Sun, 13 Feb 2011 14:25:45 -0800
| Newsgroups | php.notes |
|---|---|
| Message-ID | <[email protected]> |
This worked for me to distinguish between windows and linux, for stripping leading zeros from days/months in the short formats (like for Czech): stristr(PHP_OS,"win") ? "%#d.%#m.%Y" : "%-d.%-m.%Y" ---- Server IP: 69.147.83.197 Probable Submitter: 188.26.139.222 ---- Manual Page -- http://www.php.net/manual/en/function.strftime.php Edit -- https://master.php.net/note/edit/102422 Del: integrated -- https://master.php.net/note/delete/102422/integrated Del: useless -- https://master.php.net/note/delete/102422/useless Del: bad code -- https://master.php.net/note/delete/102422/bad+code Del: spam -- https://master.php.net/note/delete/102422/spam Del: non-english -- https://master.php.net/note/delete/102422/non-english Del: in docs -- https://master.php.net/note/delete/102422/in+docs Del: other reasons-- https://master.php.net/note/delete/102422 Reject -- https://master.php.net/note/reject/102422 Search -- https://master.php.net/manage/user-notes.php