Re: Date?

From: Date: Sun, 09 Jun 2002 04:49:53 +0000
Subject: Re: Date?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-101311@lists.php.net to get a copy of this message
<? 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. John Jeremy Bowen wrote: > I am having nothing but trouble with the date function. I want it to print > out a date like this: Saturday June 8, 2002 but as soon as I put spaces or > comma's in the string I get parse errors. I can get it to print > SaturdayJune082002 with <? echo date (lFdY); ?> I have tried escaping with > \ but it seems to make no difference. >

« previous php.general (#101311) next »