Convert from epoch to human readable date:
long epoch = System.currentTimeMillis()/1000; String date = new java.text.SimpleDateFormat("MM/dd/yyyy HH:mm:ss").format(new java.util.Date (epoch*1000));
Apuntes de programación
long epoch = System.currentTimeMillis()/1000; String date = new java.text.SimpleDateFormat("MM/dd/yyyy HH:mm:ss").format(new java.util.Date (epoch*1000));
Find more free Blogger templates at DheTemplate.com - Daily Updates Free Blogger Templates
0 comentarios:
Publicar un comentario