取时一个时间的年月日+调用CSS用link

发表于:2007-06-30来源:作者:点击数: 标签:
<!--#include file="conn.asp"-->
<link rel="stylesheet" type="text/css" href="css.css">
<script type="text/javascript" src="index/title.js"></script>

<%
set rs = server.createobject("adodb.recordset")
sql="select * from 1 order by id desc"
rs.open sql,conn,3,2
while not rs.eof
pubdate=rs("pubdate")
pubtime=year(pubdate)&"年"&month(pubdate)&"月"&day(pubdate)&"日"
%>
<% response.write pubtime
rs.movenext
wend %>


<tr bgcolor="#eeeeee" onMouseOver=this.style.backgroundColor=‘’ffffff‘’ onMouseOut=this.style.backgroundColor=‘’‘’>
<td></td><tr>

原文转自:http://www.ltesting.net