/**
* 获取系统时间
**/
public static Timestamp getCurrentTime(){
long longNow = System.currentTimeMillis();
return new Timestamp(longNow);
}
java获取系统时间的封装方法
最新推荐文章于 2024-01-11 16:13:57 发布
/**
* 获取系统时间
**/
public static Timestamp getCurrentTime(){
long longNow = System.currentTimeMillis();
return new Timestamp(longNow);
}