生成当前时间的时间戳

方法一:

System.currentTimeMillis();

方法二:

new Date().getTime();

方法三:

Calendat.getInstance().getTimeInMillis()

猜你喜欢

转载自www.cnblogs.com/ljf-Sky/p/9089080.html