title: FMDB queries with NSDate execute but do not take effect
body: <p>Any query I execute through FMDB that include NSDates execute but do not return result sets or make edits to the database. I am working in the ios 4.3 simulator.Other Queries that do not stipulate a date execute correctly. Heres an exerpt of the code that i use:</p>
  
  <pre><code>NSDateFormatter *dateFormatter = [[NSDateFormatter alloc]init];
  [dateFormatter setDateFormat:@"yyyy-MM-dd hh-mm-ss"];
  
  NSDate *start = [dateFormatter dateFromString:@"2011-07-18 06:40:21" ];
  NSDate *end = [dateFormatter dateFromString:@"2011-07-18 06:41:19"];
  
  [dateFormatter release];
  
  FMDatabase* db = [FMDatabase databaseWithPath:appDelegate.databasePath];
  if (![db open]) {
  NSLog(@"Could not open db.");
  }
  
  [db beginTransaction];
  [db executeUpdate:@"delete from time_stamp_table where time_stamp &gt;= ? 
  and time_stamp &lt;= ?",start,end];
  
  NSLog(@"Err %d: %@", [db lastErrorCode], [db lastErrorMessage]);
  [db commit];
  [db close];
  </code></pre>
  
  <p>The schema states time_stamp in the time_stamped_table thusly:</p>
  
  <pre><code>create table time_stamp_table{
  id INTEGER PRIMARY KEY,
  time_stamp DATETIME NOT NULL
  }
  </code></pre>
  
  <p>When I make these queries in sqlite3 on the command line, using the database stored on the simulated Application context, they work. Is there some special preperation for querying by NSDate with FMDB that I am missing? </p>