note 47558 deleted from function.strftime by derick

From: Date: Sat, 04 Nov 2006 10:43:00 +0000
Subject: note 47558 deleted from function.strftime by derick
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-119381@lists.php.net to get a copy of this message
Note Submitter: james at oicgroup dot net ---- In looking for a way to trim the leading zero from a 12 hour time format (08:30 PM for instance), we happened upon %l (lowercase L) quite by accident. It replaces the leading zero with a space similiar to what %e does with dates, so you get 8:30 PM instead of 08:30 PM.

« previous php.notes (#119381) next »