Ver originallong l = (new java.util.Date()).getTime();System.out.println(String.format("%1$tH:%1$tM:%1$tS", l));