2012年11月19日

oracle - 关于日期的函数

摘要: 不支持 :2013/4/21 24:00:00 格式 --2013/4/21 0:00:01 是属于4月22日(有点郁闷).当用到函数时,日期转换里面的格式化参数是不区分大小的,例如,Select to_char(t.vdate,'dd'),t.vdate From test_student t... 阅读全文

posted @ 2012-11-19 17:16 lovebeauty 阅读(329) 评论(0) 推荐(0) 编辑

j2EE 日期转换需记的

摘要: 获取时间:方法1Calendar calendar=Calendar.getInstance(); int year=calendar.get(Calendar.YEAR); int month=calendar.get(Calendar.MONTH)+1; int day=calendar.get... 阅读全文

posted @ 2012-11-19 16:59 lovebeauty 阅读(206) 评论(0) 推荐(0) 编辑

导航