SimpleDateFormat format1 = new SimpleDateFormat("yyyyMMdd");
try{
System.out.println(format1.format(format1.parse("20090801")));
}catch(Exception e){
}
上面運(yùn)行結(jié)果是20090801
SimpleDateFormat format1 = new SimpleDateFormat("yyyyMMdd");
try{
System.out.println(format1.format(format1.parse("2009-08-01")));
}catch(Exception e){
}
上面運(yùn)行兩次以上的結(jié)果是20081208
摘要: oracle sql 語句。。。。。。。。。
閱讀全文
摘要: 將網(wǎng)頁資料以excel報(bào)表或者word形式下載
閱讀全文
摘要: java.util.Date 轉(zhuǎn)換為 java.sql.Date
閱讀全文
摘要: [轉(zhuǎn)]Eclipse中的快捷鍵
閱讀全文
摘要: StringTokenizer類的主要用途是將字符串以定界符為界........
閱讀全文
摘要: 語法: string.substring(start, end) .....
閱讀全文