都市叢林
2008/04/02
文字轉日期
Date tmpDate;
SimpleDateFormat Dfmt = new SimpleDateFormat("yyyyMMddHHmmss");
tmpDate = new Date();
try {
tmpDate = Dfmt.parse("20080402180000");
} catch (ParseException ex1) {
log.error("Conver Error!!");
}
較新的文章
較舊的文章
首頁
訂閱:
意見 (Atom)