title: Month Issue from Calendar in Android Java File
body: <p>Wrote Below Code in Android Java File to fetch Only Date which m getting but issue is not getting correct Month in my given format.  </p>
  
  <p>First m fetching current month as Bill Date.
  Second m fetching Current month + 1 as Due Date.</p>
  
  <p>SimpleDateFormat dateFormat = new SimpleDateFormat("dd-mm-yyyy");</p>
  
  <pre><code>                Calendar cal = Calendar.getInstance();
              String billdate= dateFormat.format(cal.getTime()).toString();
                  cal.add(Calendar.MONTH,1);
                  String duedate= dateFormat.format(cal.getTime()).toString();
  </code></pre>
  
  <p>Output:</p>
  
  <p>22-42-2018 22-42-2018</p>
  
  <p>Can't identify month. Anyone please resolve the query why m not getting exact month and what changes should i make.</p>