while inserting it do this:
<%
sql="insert into table(TheDate) values('"&now&"')"
%>
this will insert the date and time into TheDate field, u can always select the last record by:
<%
sql="select * from table order by TheDate desc"
rs.open sql,con
if not(rs.bof and rs.eof) then
response.write "Latest record -" &rs("TheDate")
end if
%>
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.