海外邮件中继,海外退信中继,美国高速VPS,不限流量VPN,邮局维护和管理,邮件网关,EMOS邮件中继,POSTFIX邮件中继,Winwebmail邮件中继,Winmail邮件中继,DBMail邮件中继,JDMail邮件中继,Exchange邮件中继,MDaemon邮件中继 淘宝店:http://shantan.taobao.com 云邮科技官网:www.yunrelay.com
【字体设置:大 中 小】
<%
function week(d)
if d=2 then '为星期一
m=6
n=0
elseif d=3 then '为星期二
m=5
n=1
elseif d=4 then '为星期三
m=4
n=2
elseif d=5 then '为星期四
m=3
n=3
elseif d=6 then '为星期五
m=2
n=4
elseif d=7 then '为星期六
m=1
n=5
elseif d=1 then '为星期日
m=0
n=6
end if
response.Write(year(date()-n)&"."&month(date()-n)&"."&day(date()-n)&"---"&month(date()+m)&"."&day(date()+m))
end function
%>
本周日期为:<%=week(weekday(date()))%>
<br /><br />
<%
d=date()
response.write "今天是:" & d & "<p>"
w=datepart("w",d)-1
response.write "今天是周:" & w & "<p>"
n=w-1
a=w-2
b=w-3
c=w-4
e=w-5
m=6-w
response.write "本周一是:" & dateadd("d",-n,d) & "<p>"
response.write "本周二是:" & dateadd("d",-a,d) & "<p>"
response.write "本周三是:" & dateadd("d",-b,d) & "<p>"
response.write "本周四是:" & dateadd("d",-c,d) & "<p>"
response.write "本周五是:" & dateadd("d",-e,d) & "<p>"
response.write "本周六是:" & dateadd("d",m,d) & "<p>"
%>
发表评论 - 不要忘了输入验证码哦!