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://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to