title: How to convert timestamp into date and time in java?
body: <p>I have a timestamp in json that is from a Linux server. I would like to convert it into a simple date-time format using Java.</p>
  
  <p>I need the date and time in the following format: dd-mm-yyyy hh:mm:ss</p>
  
  <p>here is my JSON data:</p>
  
  <pre><code>[
    { 
      "batch_date": 1419038000
    }, 
    {
      "batch_date": 1419037000
    }
  ]
  </code></pre>