Don't reinvent....

http://www.php.net/manual/en/function.strftime.php


-----Original Message-----
From: Angelo Zanetti [mailto:[EMAIL PROTECTED] 
Sent: donderdag 12 februari 2004 10:13
To: [EMAIL PROTECTED]
Subject: [PHP] getting month from date variable


HI,

I have looked the php manual and cannot find a function where I can
extract the month (in words) from a variable which contains a date.

eg:
I input :
 2004-01-26
 and the function must return:

January

Is there a php function like this? I dont want to reinvent the wheel. If
there isnt i will have to write my own.

Thanx in advance.
Angelo

--------------------------------------------------------------------
Disclaimer 
This e-mail transmission contains confidential information, which is the
property of the sender. The information in this e-mail or attachments
thereto is 
intended for the attention and use only of the addressee. 
Should you have received this e-mail in error, please delete 
and destroy it and any attachments thereto immediately. 
Under no circumstances will the Cape Technikon or the sender 
of this e-mail be liable to any party for any direct, indirect, 
special or other consequential damages for any use of this e-mail. For
the detailed e-mail disclaimer please refer to 
http://www.ctech.ac.za/polic or call +27 (0)21 460 3911

-- 
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