<%mytime=rs("time") '数据库中保存时间nowtime=now() '当前时间if datediff("d",mytime,nowtime)<1 then '比较当前时间和数据库中时间,如相差小于1,即显示图片new.gif%><img src="images/new.gif"><%end if%> 本文地址:https://www.xunjs.com/qtbc/view_21270.html 版权声明:除特别声明外,本站所有文章皆是本站原创,转载请以超链接形式注明出处! Tags: 标志 显示 时间