title: How to search by date in C# using postgreSQL WinForms
body: <p>I am not sure how to word the title but here is what I get. I am pulling all product serial numbers from the database with a date greater than 2014-12-31. The application some what works, I get 4 records returned in my C# application but when I run the sql query in PostgreSQL I get 5 records returned.</p>
  
  <p>Here is my sql statement in C#</p>
  
  <pre><code> NpgsqlCommand cmd = new NpgsqlCommand(
    @"select product_serial_number from master_product 
      where status = 110 and updated_at_time &gt;= :date 
      order by product_serial_number asc;", conn);
   cmd.Parameters.Add("date", NpgsqlTypes.NpgsqlDbType.Date).Value = 
      DateTime.Parse("2014-12-31 23:59:59");
  </code></pre>
  
  <p>Not sure how to debug this,any suggestions? </p>
  
  <p>Thanks!</p>