Index: date/query.php
===================================================================
--- date/query.php	(revision 48942)
+++ date/query.php	(working copy)
@@ -222,10 +222,10 @@
 
 		$found = $q->get_compare(
 			array(
-				'compare' => 'BETWEEN',
+				'compare' => 'NOT BETWEEN',
 			)
 		);
-		$this->assertSame( 'BETWEEN', $found );
+		$this->assertSame( 'NOT BETWEEN', $found );
 	}
 
 	public function test_validate_column_post_date() {
@@ -524,7 +524,7 @@
 		$found = $q->build_mysql_datetime( $datetime, $default_to_max );
 
 		$message = "Expected {$expected}, got {$found}";
-		$this->assertEquals( strtotime( $expected ), strtotime( $found ), $message, 10 );
+		$this->assertEqualsWithDelta( strtotime( $expected ), strtotime( $found ), 10, $message );
 	}
 
 	public function mysql_datetime_input_provider() {
@@ -559,7 +559,7 @@
 		$found = $q->build_mysql_datetime( $datetime, $default_to_max );
 
 		$message = "Expected {$expected}, got {$found}";
-		$this->assertEquals( strtotime( $expected ), strtotime( $found ), $message, 10 );
+		$this->assertEqualsWithDelta( strtotime( $expected ), strtotime( $found ), 10, $message );
 
 	}
 
@@ -583,7 +583,7 @@
 		$found     = $q->build_mysql_datetime( '-1 day' );
 
 		$message = "Expected {$expected}, got {$found}";
-		$this->assertEquals( strtotime( $expected ), strtotime( $found ), $message, 10 );
+		$this->assertEqualsWithDelta( strtotime( $expected ), strtotime( $found ), 10, $message );
 	}
 
 	public function test_build_time_query_insufficient_time_values() {
@@ -1133,4 +1133,4 @@
 		$columns[] = 'my_custom_column';
 		return $columns;
 	}
-}
+}
\ No newline at end of file
