以文本方式查看主题

-  Foxtable(狐表)  (http://www.foxtable.com/bbs/index.asp)
--  专家坐堂  (http://www.foxtable.com/bbs/list.asp?boardid=2)
----  [求助]  (http://www.foxtable.com/bbs/dispbbs.asp?boardid=2&id=90152)

--  作者:铜豌豆之首
--  发布时间:2016/9/6 16:28:00
--  [求助]
如何通过日期计算时当年的第几周
--  作者:狐狸爸爸
--  发布时间:2016/9/6 17:15:00
--  
Dim dt As Date = Date.Today
Dim cur As System.Globalization.CultureInfo
cur =System.Globalization.CultureInfo.CurrentCulture
Return cur.Calendar.GetWeekOfYear(dt, 0, 0)