on 01/04/03 10:31 PM, Jason Wong ([EMAIL PROTECTED]) wrote: > I don't want to be awkward, but wouldn't $m be holding the required info > already? -- ignoring the fact that you have an invalid date.
yes. I just re-read the OP... *slaps forehead*.
<?
$date = '2002-03-18';
list($y,$d,$m) = explode('-',$date);
echo $m;
?>
Justin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

