Index: temp/trunk/data/class/SC_SelectSql.php
===================================================================
--- temp/trunk/data/class/SC_SelectSql.php	(revision 1943)
+++ temp/trunk/data/class/SC_SelectSql.php	(revision 1944)
@@ -84,5 +84,5 @@
 		if( ( $from_year != "" ) && ( $from_month != "" ) && ( $from_day != "" ) && 
 			( $to_year != "" ) && ( $to_month != "" ) && ( $to_day != "" ) ) {
-			$this->setWhere( $column ." >= " . $date1 ." AND ". $column . " < date(" . $date2 . ")+1" );
+			$this->setWhere( $column ." >= " . $date1 ." AND ". $column . " < date('" . $date2 . "')+1" );
 			$return = array($date1, $date2);
 		}
@@ -90,5 +90,5 @@
 		// ½ªÎ»´ü´Ö¤À¤±»ØÄê¤Î¾ì¹ç
 		if( ( $from_year == "" ) && ( $from_month == "" ) && ( $from_day == "" ) && ( $to_year != "" ) && ( $to_month != "" ) && ( $to_day != "" ) ) {
-			$this->setWhere( $column ." < date(" . $date2 . ")+1");
+			$this->setWhere( $column ." < date('" . $date2 . "')+1");
 		}
 		return $return;
