Re: Month in a numeric form

From: Date: Sun, 15 Oct 2006 23:59:49 +0000
Subject: Re: Month in a numeric form
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-243170@lists.php.net to get a copy of this message
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

« previous php.general (#243170) next »