title: how to get only the Date without time and GMT?
body: <p>I am trying to get only the date from the Date object but currently i get only the following output:</p>
  
  <pre><code>"Thu Nov 24 17:46:14 GMT +02:00 2016"
  </code></pre>
  
  <p>and i would like to get:</p>
  
  <pre><code>"24/11/2016"
  </code></pre>
  
  <p>this is my code:</p>
  
  <pre><code> public String getNextYearDate(){
   Calendar cal = Calendar.getInstance();
   cal.add(Calendar.YEAR, 1); // to get previous year add -1
   Date nextYear = cal.getTime();
   return nextYear.toString();
  </code></pre>