java获取取得Timestamp类型的当前系统时间格式:2010-11-04 16:19:42
方法1:
Timestampd = new Timestamp(System.currentTimeMillis());
方法2:
Datedate = new Date();
Timestamp nousedate = new Timestamp(date.getTime());
java获取取得Timestamp类型的当前系统时间格式:2010-11-04 16:19:42
方法1:
Timestampd = new Timestamp(System.currentTimeMillis());
方法2:
Datedate = new Date();
Timestamp nousedate = new Timestamp(date.getTime());