由日期得到一年中的第几周

select distinct t.statis_date,to_char(to_date(statis_date,'yyyymmdd'),'WW') from tb_kr_index_data_day_zc t where t.statis_date>20090101 and t.statis_date<20090120;

你可能感兴趣的:(Date)