|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2008-03-31 13:21 UTC] iankomar at gmail dot com
Description: ------------ I would like to see a new way to "show" am/pm (a)in short-hand.. a(for am) and p (for pm). PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Oct 28 20:00:01 2025 UTC |
As this issue is by now more that 8 years old and targets an unsupported version of PHP I'm closing this. Also the request can easily be handled by userland code like this: <?php $date = new DateTime(); echo substr($date->format('a'), 0, 1); ?>