On Sun, 9 Jun 2002, John Taylor-Johnston wrote:
> <? echo date (l.", ".F." ".d.", ".Y); ?>
> Sunday, June 09, 2002
> But I would use:
> <?php echo date (l.", ".F." ".d.", ".Y); ?>
> Don't know why, but someone told me once it had something to do with versions.

date() just wants a plain ordinary string for the first argument (as the
manual clearly says). I don't know what all that concatenation is for (I
guess with permissive parsing it will provide the same thing), but as the
examples in the manual also clearly show, you can just use:

   date ('l, F d, Y');


PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to