求兩個日期間的工作日(非週六、日)(2012-6-12)

算法:
修正因子表:
相關mysql語句:
   set @d2='2012-06-10';
   set @d1='2012-06-3';
   select dayofweek(@d2);
   select dayofweek(@d1);
   select week(d2)-week(d1) 
   select datediff (date2,date1);
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章