note 82191 rejected from function.date by tularis

From: Date: Mon, 31 Mar 2008 14:16:54 +0000
Subject: note 82191 rejected from function.date by tularis
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-137790@lists.php.net to get a copy of this message
Note Submitter: iankomar at gmail dot com ---- I would like to see a "short-hand" way to display am/pm in PHP. instead of g:ia, which would give you something like: 8:29pm i would like to see something that can produce this 8:29p (notice the pm has been shortened) i much prefer dates like that, although some might see it trivial. does anyone know an easy way to do this.... without adding a lot of extra work and more functions to a script?

« previous php.notes (#137790) next »