笔记本

2008年10月10日

SimpleDateFormat & parse

SimpleDateFormat format1 = new SimpleDateFormat("yyyyMMdd");
  try{
           System.out.println(format1.format(format1.parse("20090801"))); 
  }catch(Exception e){
 }
上面运行结果是20090801

SimpleDateFormat format1 = new SimpleDateFormat("yyyyMMdd");
  try{
           System.out.println(format1.format(format1.parse("2009-08-01"))); 
  }catch(Exception e){
 }
上面运行两次以上的结果是20081208

posted @ 2009-02-26 20:44 Robben仔 阅读(527) | 评论 (0)编辑 收藏

JSP中与路径相关的常用的几个方法 转

     摘要:   阅读全文

posted @ 2009-02-11 11:58 Robben仔 阅读(556) | 评论 (0)编辑 收藏

oracle sql 语句

     摘要: oracle sql 语句。。。。。。。。。  阅读全文

posted @ 2008-10-10 10:49 Robben仔 阅读(142) | 评论 (0)编辑 收藏

<2008年10月>
2829301234
567891011
12131415161718
19202122232425
2627282930311
2345678

导航

统计

常用链接

留言簿(1)

随笔档案

ps

搜索

最新评论

阅读排行榜

评论排行榜