Given the following timestring:
$str = \'2000-11-29\'; $php_date = getdate( $str ); echo \'\'; print_r ($php_date); echo \'\';
\'; print_r ($php_date); echo \'
PHP - How to get year, month, day from time string
$dateValue = strtotime($q); $yr = date("Y", $dateValue) ." "; $mon = date("m", $dateValue)." "; $date = date("d", $dateValue);