http://www.php.net/manual/en/function.strtotime.php
http://www.php.net/manual/en/function.date.php
On 10/16/06, Ron Piggott (PHP) <[EMAIL PROTECTED]> wrote:
Is there a way I am able to use the DATE command to convert January to
1, February to 2, etc.
--
GMail Rocks!!!
Ron Piggott (PHP) wrote:
>Is there a way I am able to use the DATE command to convert January to
>1, February to 2, etc.
>
>
>
What is wrong with date()?
www.php.net/date
$month = 'Jan';
$numericMonth = date('m', strtotime("$month 01 2000");
Travis Doherty
--
PHP General Mailing List (http:/
Is there a way I am able to use the DATE command to convert January to
1, February to 2, etc.
3 matches
Mail list logo