Index: temp/trunk/html/admin/batch/daily.php
===================================================================
--- temp/trunk/html/admin/batch/daily.php	(revision 4834)
+++ temp/trunk/html/admin/batch/daily.php	(revision 4835)
@@ -231,5 +231,5 @@
 	$start_date = date("Y/m/d",strtotime("1 day" ,strtotime($end_date)));
 	
-	$end_date = date("Y/m/d H:i:s", time()); 
+	$end_date = date("Y/m/d", time()); 
 	$start_date = date("Y/m/d",strtotime("-10 year"));
 	$start_age = null;
@@ -238,7 +238,7 @@
 	// Ç¯ÎðËè¤Ë½¸·×¤¹¤ë¡£
 	for($i = 0; $i <= $age_loop; $i++) {
-		$where = $base_where . " AND order_birth >= $start_date";
+		$where = $base_where . " AND order_birth >= '$start_date'";
 		if($i <= $age_loop) {
-			$where = $where . " AND order_birth <= $end_date";
+			$where = $where . " AND order_birth <= '$end_date'";
 		}
 		lfBatOrderAgeSub($sql . $where, $start, $end, $start_age, $end_age, 1);
