Re: [PHP] Month in a numeric form

2006-10-15 Thread J R
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!!!

Re: [PHP] Month in a numeric form

2006-10-15 Thread Travis Doherty
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:/

[PHP] Month in a numeric form

2006-10-15 Thread Ron Piggott (PHP)
Is there a way I am able to use the DATE command to convert January to 1, February to 2, etc.