S
sean
Hi There,
I would like to know the correct syntax for the query below, I am trying to
verify a user session time (time_stamp) which is stoerd in the database is
with in 20 minutes of the current date / time on the server.
I know that I am close can someone help me out with a little syntax?
Thanks in advance
Sean
!--- query
SQL1 = "SELECT * FROM tblSessions WHERE sessionipaddr='" & ipAddr & "' AND
DateDiff("n",time_stamp,Now() <= 20)""
I would like to know the correct syntax for the query below, I am trying to
verify a user session time (time_stamp) which is stoerd in the database is
with in 20 minutes of the current date / time on the server.
I know that I am close can someone help me out with a little syntax?
Thanks in advance
Sean
!--- query
SQL1 = "SELECT * FROM tblSessions WHERE sessionipaddr='" & ipAddr & "' AND
DateDiff("n",time_stamp,Now() <= 20)""