Re: Re: Date?

From: Date: Sun, 09 Jun 2002 19:41:38 +0000
Subject: Re: Re: Date?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-101344@lists.php.net to get a copy of this message
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'); miguel

« previous php.general (#101344) next »