RE: [PHP-WIN] Formatting Date
| From: | Flint Doungchak | Date: | Thu, 01 Feb 2001 22:10:04 +0000 |
| Subject: | RE: [PHP-WIN] Formatting Date | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-5328@lists.php.net to get a copy of this message | ||
Ben,
Check out the date function in the php documentation. There's a lot of
formatting option there.
Go to php.net and type date in the quick ref field.
-Flint
-----Original Message-----
From: Ben Cairns [mailto:BenC@intasept.com]
Sent: Thursday, February 01, 2001 2:00 PM
To: php-windows@lists.php.net
Subject: [PHP-WIN] Formatting Date
I have this line of code in a script:
$todays_date=date("dmY");
It generates something like this:
01022001
What I need to do is get something like this from it:
Thursday, February 01, 2001
Um, How?
Thanks in adavance...
-- Ben Cairns - Head Of Technical Operations
intasept.COM
Tel: 01332 365333
Fax: 01332 346010
E-Mail: BenC@intasept.com
Web: http://www.intasept.com
"MAKING sense of
the INFORMATION
TECHNOLOGY age
@ WORK......"
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net
For additional commands, e-mail: php-windows-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net