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:[EMAIL PROTECTED]]
Sent: Thursday, February 01, 2001 2:00 PM
To: [EMAIL PROTECTED]
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: [EMAIL PROTECTED]
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to