note 46315 added to function.strftime

From: Date: Wed, 06 Oct 2004 21:31:33 +0000
Subject: note 46315 added to function.strftime
Groups: php.notes 
Request: Send a blank email to php-notes+get-78098@lists.php.net to get a copy of this message
As said in these comments, Windows strftime() doesn't support %e. However, to achieve a similar effect (not 100%) you can use %#d. The # flag will remove the leading zero, so you do get single digits, but without the space that would be added by %e in other environments. ---- Manual Page -- http://www.php.net/manual/en/function.strftime.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+46315 Delete -- http://master.php.net/manage/user-notes.php?action=delete+46315&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+46315&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#78098) next »