Posted by Janwillem Borleffs on 11/03/27 11:42
laredotornado@zipmail.com wrote: > Using PHP 4, how would i Extract the numeric month and year from a > date variable created using the date() function? > With date: list($year, $month) = explode('-', date('Y-n')); With getdate: $date = getdate(); $year = $date['year']; $month = $date['mon']; JW
[Reply to this message]
Copyright © 2005-2006 Powered by Custom PHP Programming