java8怎么获取时间戳

如题所述

一System.currentTimeMillis();
二Calendar.getInstance().getTimeInMillis();
三new Date().getTime();
温馨提示:答案为网友推荐,仅供参考
相似回答
大家正在搜