指引网

当前位置: 主页 > 编程开发 > ASP >

如何计算每天的平均反复访问人数

来源:网络 作者:佚名 点击: 时间:2017-06-22 19:59
[摘要] 答 解决方法 % startdate=DateDiff(d,Now,01/01/1990) if strdate0 then startdate=startdate*-1 avgvpd=Int((usercnt)/startdate) % 显示结果 % response.write(avgvpd) % that is it.this page have been viewed since November 10,1998
答 解决方法
<% startdate=DateDiff("d",Now,"01/01/1990")
if strdate<0 then startdate=startdate*-1
avgvpd=Int((usercnt)/startdate) %>
显示结果
<% response.write(avgvpd) %>
that is it.this page have been viewed since November 10,1998

------分隔线----------------------------