title: How to convert getTime() to 'YYYY-MM-DD HH24:MI:SS'
body: <p>I Have the following code in my application</p>
  
  <pre class="lang-java prettyprint-override"><code>System.out.println(rec.getDateTrami().getTime());
  </code></pre>
  
  <p>I need to convert the following format (I suppose that they are seconds)</p>
  
  <pre><code>43782000
  29382000
  29382000
  </code></pre>
  
  <p>To a format <code>YYYY-MM-DD HH24:MI:SS</code>, anyone can help to me?</p>