日期:2014-05-20 浏览次数:20657 次
public class MyMain { public static void main(String[] args) { long duration = 4000; SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); System.out.println(sdf.format(new Date(duration))); } }