Loading

摘要: 1、返回日期为星期几(1)显示当前日期是星期几select to_char(SYSDATE,'DY') from dual;(2)查看指定日期为星期几select to_char(to_date('2013-01-04','yyyy-MM-dd'),'DY') from dual;2、返回日期为当年的第几周select to_char(sysdate,'FMWW') from dual; 阅读全文
posted @ 2013-01-05 14:17 uzipi 阅读(159) 评论(0) 推荐(0) 编辑