title: How do I convert timestamp string to local time string?
body: <p>I have timestamp string: <code>"1989-01-01 00:00:00"</code> and i need convert it to local date format.</p>
  
  <p>I execute: </p>
  
  <pre><code>SimpleDateFormat TIMESTAMPFORMAT = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
  DateFormat.getDateFormat(getContext()).format(TIMESTAMPFORMAT.parse("1989-01-01 00:00:00"));
  </code></pre>
  
  <p>And getDateFormat returns <code>31.12.1988</code></p>
  
  <p>Why?</p>
  
  <p>How can I receive <code>01.01.1989</code>???</p>