title: Android : Get day of the week from date?
body: <p>How can i format the date to be like this</p>
  
  <blockquote>
    <p>Mon, 27 Nov 2011</p>
  </blockquote>
  
  <pre><code>    public static String sFleTimeToDate(double ft) {
             double date = ft / 10000 - 11644455600000L;
             date += TimeZone.getDefault().getOffset((long) date);
             return DateFormat.format("ddd, dd MMM yyyy", new Date((long) date)).toString();
  }
  </code></pre>
  
  <p>but this function return </p>
  
  <blockquote>
    <p>027, 27 Nov 2011</p>
  </blockquote>