<%
onlndt = now() - 0.004
onlinemembers = conn.execute("SELECT count(*) FROM members where lastlogindate > '"& onlndt &"' ORDER BY lastlogindate ")(0)
%>
I am trying to count the number of members logined last one minute or another time range. But onlinemembers always shows "0"
What should I do?
onlndt = now() - 0.004
onlinemembers = conn.execute("SELECT count(*) FROM members where lastlogindate > '"& onlndt &"' ORDER BY lastlogindate ")(0)
%>
I am trying to count the number of members logined last one minute or another time range. But onlinemembers always shows "0"
What should I do?