<%
a="2008-01-02"
b="2012-08-01"
%>
<%
rq=int((CDate(b)-cdate(a)))
%>
<%=datediff("d","2008-12-1","2012-1-2")%>
<br>
<hr />

<%

Function DiffADate(theDate)
  DiffADate = "从当天开始的天数:" & DateDiff("d", Now, theDate)
End Function

%>
<%
= diffadate("2013-1-1")
%>