title: SimpleDateFormat warning To get local formatting use getDateInstance(), getDateTimeInstance(), or getTimeInstance(),
body: <p>Do i need to be worried about this warning? What if I ignore the warning?<br/>
  What does this warning mean: <br/>
  To get local formatting use <code>getDateInstance()</code>, <code>getDateTimeInstance()</code>, or <code>getTimeInstance()</code>, or use <code>new SimpleDateFormat(String template, Locale locale)</code> with for example <code>Locale.US</code> for <code>ASCII</code> dates.<br/>
  In the 2nd Line of the code below. The App is working fine with the code. I wanted to show date eg, <code>19 Nov 2014</code>.</p>
  
  <pre><code>public static String getFormattedDate(long calendarTimeInMilliseconds) {
      SimpleDateFormat sdfDate = new SimpleDateFormat("d MMM yyyy");  //ON THIS LINE
      Date now = new Date();
      now.setTime(calendarTimeInMilliseconds);
      String strDate = sdfDate.format(now);
      return strDate;
  }
  </code></pre>
  
  <p>I think this is a correct way to format date as shown <a href="https://stackoverflow.com/a/3056725/3879470">here</a>.</p>