RE: [PHP] Re: Date?
| From: | Bruce Karstedt | Date: | Sun, 09 Jun 2002 16:13:26 +0000 |
| Subject: | RE: [PHP] Re: Date? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-101334@lists.php.net to get a copy of this message | ||
<? echo date("l, F j, Y"); ?> works just fine for me.
Bruce Karstedt
President
Technology Consulting Associates, Ltd.
Tel: 847-735-9488
Fax: 847-735-9474
-----Original Message-----
From: John Taylor-Johnston [mailto:taylorjo@collegesherbrooke.qc.ca]
Sent: Saturday, June 08, 2002 11:50 PM
To: php-general@lists.php.net
Cc: Jeremy Bowen
Subject: [PHP] Re: Date?
<? 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.
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php