Java Unix 时间戳

Date date=new Date();
date.gettime()/1000;
必须要除以1000才是unix时间戳

你可能感兴趣的:(Java Unix 时间戳)