note 102423 added to function.strftime

[email protected] Sun, 13 Feb 2011 14:26:20 -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/102423
Del: integrated  -- https://master.php.net/note/delete/102423/integrated
Del: useless     -- https://master.php.net/note/delete/102423/useless
Del: bad code    -- https://master.php.net/note/delete/102423/bad+code
Del: spam        -- https://master.php.net/note/delete/102423/spam
Del: non-english -- https://master.php.net/note/delete/102423/non-english
Del: in docs     -- https://master.php.net/note/delete/102423/in+docs
Del: other reasons-- https://master.php.net/note/delete/102423
Reject      -- https://master.php.net/note/reject/102423
Search      -- https://master.php.net/manage/user-notes.php