27 abril 2011

#{ Epoch | Unix Time | POSIX time: conversor para lenguajes de programación }

0 comentarios
http://www.epochconverter.com/

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));

0 comentarios:

Publicar un comentario

 
Buffer de Código | © Design by DheTemplate.com and Theme 2 Blog

Find more free Blogger templates at DheTemplate.com - Daily Updates Free Blogger Templates