title: How to change the day of week to match an incremented date?
body: <p>I have the following code to increment a calendar month by one month.</p>
  
  <pre><code>c.add(Calendar.MONTH, 1);
  SimpleDateFormat sdf = new SimpleDateFormat("MMM-dd-yyyy");
  String oneMonth = sdf.format(c.getTime());
  </code></pre>
  
  <p>When the new date is incremented, I display it in a textView. I would like to also display the day of the week that coorisponds to the new incremented date. How would I accomplish that with code? I tried setting this new code underneath the above code but it is not setting the day of the week correctly in this instance. </p>
  
  <pre><code>SimpleDateFormat sdf = new SimpleDateFormat("EEEE");
  Date d = new Date();
  String dayOfTheWeek = sdf.format(d);
  </code></pre>
  
  <p>Can someone help me to accomplish this? I appreciate your time and assistance.</p>
  
  <p>UPDATE:::
  SOLUTION that works for me:</p>
  
  <p>adding "EEEE" to the original simpledate format like this...</p>
  
  <pre><code>            SimpleDateFormat sdf = new SimpleDateFormat("EEEE, MMM-dd-yyyy");
              String oneMonth = sdf.format(c.getTime());
  </code></pre>