title: android timestamp parsing gone wrong(always in 1970)
body: <p>im trying to convert a string(with unix timestamp) to an date with the format ( dd-MM-yyyy)</p>
  
  <p>and this is working partly. The problem im having now is that my date is in 17-01-1970 (instead of march 16 2015)</p>
  
  <p>im converting it like this:</p>
  
  <pre><code>SimpleDateFormat dateFormat = new SimpleDateFormat("dd-MM-yyyy");
      Date d = null;
      int dateMulti = Integer.parseInt(Date);
      Calendar cal = Calendar.getInstance(Locale.ENGLISH);
      cal.setTimeInMillis(dateMulti);
      String date = DateFormat.format("dd-MM-yyyy", cal).toString();
  
      Log.d("test",date);
      try {
          d = dateFormat.parse(date);
      } catch (ParseException e) {
          e.printStackTrace();
      }
  </code></pre>
  
  <p>where Date = 1427101853
  and the result  =  17-01-1970</p>
  
  <p>what am i doing wrong?</p>