我如何确定它是3.5分钟后使用vbscript



如何确定使用vbscript是否为3.5分钟后?

<%On Error Goto 0
Dim timer, timeNow, timeStart
timeStart = Request.Cookies("timeStart")
'timeNow = time()
If Trim(timeStart) = "" Then
Response.Cookies("timeStart") = Now()
End If
Response.Write "timeStart: " & timeStart    
' if it is past 3 1/2 minutes later
If Now() > timeStart Then
%>
<!-- 'call javascript function? -->
Call Javascript Exit Survey
<%
End If
%>
If Now() > DateAdd("s", 210, timeStart) Then

使用说明:

DateDiff("n",fromDate,toDate,vbMonday)

相关内容

  • 没有找到相关文章

最新更新