note 30472 added to function.date

From: Date: Wed, 19 Mar 2003 07:09:10 +0000
Subject: note 30472 added to function.date
Groups: php.notes 
Request: Send a blank email to php-notes+get-45507@lists.php.net to get a copy of this message
I was trying to use a variable for the "format" property of date() in a function where I wanted to return different date formats, and I got an "unexpected error." Which means, unless I am mistaken, that you can't use variables for the "format" property, you must specify a string. Something to keep in mind. (I'm using PHP 4.3.0.) -- http://www.php.net/manual/en/function.date.php http://master.php.net/manage/user-notes.php?action=edit+30472 http://master.php.net/manage/user-notes.php?action=delete+30472 http://master.php.net/manage/user-notes.php?action=reject+30472

« previous php.notes (#45507) next »