通达信WEEKOFYEAR的大智慧替代方法
-
相关简介:通达信WEEKOFYEAR的大智慧替代方法
-
文章来源:股海网作者:股海网发布时间:2022-02-05浏览次数:
通达信WEEKOFYEAR的大智慧替代 WEEKOFYEAR: if(month=1,-FLOOR(-DAY/7), if(month=2,-FLOOR(-(31+DAY)/7), if(month=3,-FLOOR(-(59+DAY)/7), if(month=4,-FLOOR(-(90+DAY)/7), if(month=5,-FLOOR(-(120+DAY)/7), if(month=6,-FLOOR(-(151+DAY)/7), if(month=7,-FLOOR(-(181+DAY)/7), if(month=8,-FLOOR(-(212+DAY)/7), if(month=9,-FLOOR(-(243+DAY)/7), if(month=10,-FLOOR(-(273+DAY)/7), if(month=11,-FLOOR(-(304+DAY)/7), if(month=12,-FLOOR(-(334+DAY)/7), 54))))))))))));