Re: How to do a Date format conversion
| From: | David Robley | Date: | Tue, 11 Sep 2001 01:21:30 +0000 |
| Subject: | Re: How to do a Date format conversion | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-66836@lists.php.net to get a copy of this message | ||
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.