在我的ASP页面,我写这样的代码检查日期验证如何检查当前日期是否大于结束日期?
<%
'Session 1
session.lcid=2057
Session("CheckIn")= "26/12/2009"
d=0
response.write session("CheckIn")&"----"&DateAdd("d",d,Session("CheckIn")) &"<br/>"
if session("CheckIn")= DateAdd("d",d,Session("CheckIn")) then
response.write "Session 1 is workings"
end if
'Session 2
a ="26/12/2009"
b ="26/12/2009"
if a=b then
response.write "Session 2 is workings"
end if
%>
在会议1“如果”条件是行不通的。 但如果我在会话2中以字符串格式写入日期,则“IF”条件正在工作。
我如何检查“IF”条件会议1我在传统的ASP页面
希望您的回复,
非常感谢loooooooooooooot – Alex 2009-12-19 09:32:24