title: How get date in "yyyy-MM-dd HH:mm:ss" format properly
body: <pre><code>String date = (String) android.text.format.DateFormat.format("yyyy-MM-dd HH:mm:ss", new java.util.Date());
  </code></pre>
  
  <p>Is some device work ok. But in other devices I get:</p>
  
  <blockquote>
    <p>2015-12-24 HH:28:24</p>
  </blockquote>
  
  <p>In devices that not work if I change (HH) - > (hh) works. But I need hour in 24 hour mode.</p>