Timestamp ts = new Timestamp(System.currentTimeMillis());
Date date = new Date();
try {
date = ts;
ystem.out.println(date);
} catch (Exception e) {
e.printStackTrace();
}
Timestamp转Date
猜你喜欢
转载自wgbaoweii.iteye.com/blog/2287210
今日推荐
周排行