Friday, June 12, 2009

Convert from epoch to human readable date

String date = new java.text.SimpleDateFormat("dd/MM/yyyy HH:mm:ss").format(new java.util.Date (epoch*1000));

ex) 1220738315 -> 06/09/2008 17:58:35

http://www.epochconverter.com/

No comments:

Post a Comment