title: Adding hours, minutes, seconds to SQL Date
body: <p>Good Day!</p>
  
  <p>I have a problem with SQL Dates. I think the main problem is on the perspective of time.
  In my program, I have a start and end date, say for example <code>2014-01-08</code> and <code>2014-01-10</code>.
  In the datebase, I used datetime so the dates are stored as <code>2014-01-08 00:00:00</code> and <code>2014-01-10 00:00:00</code> respectively.</p>
  
  <p>If you are a user and today is the end date, you would assume that the deadline is up to midnight. However, that is not the case because the hours, minutes, and seconds are set to 0.</p>
  
  <p>I would like to ask, what is the best way to add the hours, minutes, and seconds so that the end date is up to midnight.</p>
  
  <p>PS. I am using Java Sql Date.</p>
  
  <pre><code>INSERT INTO survey_schedule (start_date, end_date) VALUES (startDate, endDate);
  </code></pre>
  
  <p>startDate and endDate are <code>java.sql.date</code> types</p>