Index: temp/trunk/html/admin/batch/daily.php
===================================================================
--- temp/trunk/html/admin/batch/daily.php	(revision 4825)
+++ temp/trunk/html/admin/batch/daily.php	(revision 4826)
@@ -231,7 +231,9 @@
 	
 	
-	$startdate = date("Y/m/d",strtotime("-10 year"));
-	
-	sfprintr(date("Y/m/d",strtotime("1 day" ,strtotime(date("Y/m/d",strtotime("-10 year"))))));
+	$end_date = date("Y/m/d",strtotime("-10 year"));
+	
+	
+	$end_date = now();
+	$start_date = date("Y/m/d",strtotime("1 day" ,strtotime($end_date)));
 
 	// Ç¯ÎðËè¤Ë½¸·×¤¹¤ë¡£
@@ -244,9 +246,9 @@
 		lfBatOrderAgeSub($sql . $where, $start, $end, $start_age, $end_age, 1);
 	}
-	
+
 	// ÃÂÀ¸ÆüÆþÎÏ¤Ê¤·
 	$where = $base_where . " AND order_birth IS NULL ";
 	lfBatOrderAgeSub($sql . $where, $start, $end, NULL, NULL, 1);
-	
+
 	/* Èó²ñ°÷½¸·× */
 	
