2012-03-15 24 views

回答

7

假设你的意思是System.currentTimeMillis()

这是the number of milliseconds since midnight on 1st January, 1970, UTC.

+1

+1我一直在使用这种方法成千上万的时间已经,但不了解这一点。谢谢。 – 2012-03-15 13:39:27

+2

Java 7链接http://docs.oracle.com/javase/7/docs/api/java/lang/System.html#currentTimeMillis%28%29 – 2012-03-15 13:43:34

+0

@PeterLawrey谢谢,我已经更新了答案最新的链接。 – berry120 2012-03-15 13:51:21

3

的毫秒数,从1月1日,1970年