How can I create a date and time string with the timestamp 1420432787 which is equal to 1/05/2015 10:09:47.
Bellow code is also not working
Date date = new Date(1420432787);
SimpleDateFormat simpleDateFormat = new SimpleDateFormat("MM/dd/yyyy' 'HH:mm:a");
System.out.println(simpleDateFormat.format(date));
result of this 1/17/1970 10:34 AM