Re: Dumb date question
| From: | Scott Carr | Date: | Wed, 24 Jul 2002 21:05:52 +0000 |
| Subject: | Re: Dumb date question | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-14922@lists.php.net to get a copy of this message | ||
$strTime = date("mm/dd/yyyy", strtotime("Jan 13, 2002"));
--
Scott Carr
OpenOffice.org
Documentation Maintainer
http://documentation.openoffice.org/
Quoting "R.S. Herhuth" <ronherhuth@pop.mindspring.com>:
>
> I was hoping someone could help me quickly. I did a quick scan of the
> documentation but I couldn't find the answer.
>
> How can I convert a month that appears as a string like "Jan" into the
> numerical equivelent such as "12" without doing a huge if-then statement?
>
> Thanks,
> Ron
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/