asp获取上一周时间
2014-08-26来源:易贤网

response.Write"<BR><BR><BR>"

dim weekold_B,weekold_E,weekold,weeknum

weekold=dateadd("d",-7,date())

response.Write weekold&"<br>"

weeknum=weekday(date())

weekold_B=dateadd("d",-(weeknum-1),weekold)

weekold_E=dateadd("d",7-weekday(date()),weekold)

response.Write weekold_B&"---"&weekold_E

更多信息请查看IT技术专栏

推荐信息