[PHP] How to do a Date format conversion

2001-09-10 Thread Don

Hi,

I have a variable containing a date in the form of 12/03/01.  I wish to display it 
as:

December 03, 2001.

Is there a built in PHP method for doing this or am I on my own  and have to write by 
own functions (which I can do).

Thanks,
Don



Re: [PHP] How to do a Date format conversion

2001-09-10 Thread David Robley

On Tue, 11 Sep 2001 06:07, Don wrote:
 Hi,

 I have a variable containing a date in the form of 12/03/01.  I wish
 to display it as:

 December 03, 2001.

 Is there a built in PHP method for doing this or am I on my own  and
 have to write by own functions (which I can do).

 Thanks,
 Don


strtotime to get te Unix datestamp, then date() should do the trick.

-- 
David Robley  Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES  Flinders University, SOUTH AUSTRALIA  

   Wow! barked Tom, with a bow.

-- 
PHP General 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]