<? 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:[EMAIL PROTECTED]]
Sent: Saturday, June 08, 2002 11:50 PM
To: [EMAIL PROTECTED]
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


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

Reply via email to