title: How can I convert a String from milliseconds to date?
body: <p>I have this code:</p>
  
  <pre><code>String id = c.getString("data"); 
  String name = ((TextView) view.findViewById(R.id.TextView05)).getText().toString();
  
  public static String getDate(long seconds, String dateFormat)
  {
      DateFormat formatter = new SimpleDateFormat("yyyy MMMM dd HH:mm");
      long now = System.currentTimeMillis();
      Calendar calendar = Calendar.getInstance();
      calendar.setTimeInMillis(now);
      return formatter.format(calendar.getTime());
  }
  </code></pre>
  
  <p>The <code>"data"</code> is <code>1341435600000</code>. I want to have this String from milliseconds to date.</p>