开发者

how to get the number of weeks of current year using Zend_Date class

how can we get number of weeks of current year,

for example if开发者_开发技巧 it's 2009 there are 53 weeks and 2010 has 52


Perhaps you can try setting the date to 31st Dec of current year, and querying the week number?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜