时间转换
Timestamp tst = new Timestamp(System.currentTimeMillis());
try {
tst = new Timestamp(format1.parse(newTime).getTime());
} catch (ParseException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
时间转换
Timestamp tst = new Timestamp(System.currentTimeMillis());
try {
tst = new Timestamp(format1.parse(newTime).getTime());
} catch (ParseException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}