title: adding one day to my date
body: <p>I got date as String in format <code>yyyy-MM-dd</code> 
  and converted to 
  <code>dd-mmm-yyyy</code>.</p>
  
  <p>Now I need to add one day to my date.Because in my SQL when I am selecting data in between some dates like 27-aug-2017 to 29-aug-2017,it is showing values only for 27 and 28-aug-2017 and not for 29-aug-2017.So I need to add one day so I will get data for 29-aug-2017.</p>
  
  <pre><code>String dateto=request.getParameter("dateto");
                  Date date1=null;
                  try {
                      date1 = format1.parse(dateto);
                      temp1 = format2.format(date1);
                      System.out.println(temp1);
                  } catch (ParseException e) {
                      // TODO Auto-generated catch block
                      e.printStackTrace();
                  }
  </code></pre>
  
  <p>My sql query</p>
  
  <pre><code>PreparedStatement psmt1=conn.prepareStatement("select * from deposit2_groupc_tja05 where Account_id =? and Transaction_Date between ? and ? order by Transaction_Date");
  </code></pre>