当前位置:编程学习 > asp >>

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

答案:<!--#include file="conn.asp"-->
<link rel="stylesheet" type="text/css" href=><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>

上一个:学习的asp.net的办法
下一个:超链接的文字说明+链接打开确定大小和样式页面

CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,