From: "Andy B" <[EMAIL PROTECTED]> > i have the function i made: > function CreateDate($day, $month, $year) { > if(!empty($day) && !empty($month) && !empty($year)){ > //convert $day, $month, and $year into a valid timestamp
> $time= strtotime($day, mktime(0,0,0,$month,1,$year)); > $time=date("YmdHis", $time); Replace the above two lines with $time = date('YmdHis', mktime(0,0,0,$month,$day,$year); ---John Holmes... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php