<%=FormatDateTime(rs("date"),2)%> 这段asp代码是什么意思

[复制链接]
查看11 | 回复2 | 2018-4-26 20:11:40 | 显示全部楼层 |阅读模式
vbGeneralDate 0 Display a date in format mm/dd/yy. If the date parameter is Now(), it will also return the time, after the date显示日期和/或时间。如果有日期部分,则将该部分显示为短日期格式。如果有时间部分,则将该部分显示为长时间格式。如果都存在,则显示所有部分。 vbLongDate 1 Display a date using the long date format: weekday, month day, year使用计算机区域设置中指定的长日期格式显示日期 vbS...
回复

使用道具 举报

千问 | 2018-4-26 20:11:40 | 显示全部楼层
这个一般在asp文章标题后面显示的 是一种显示发布时间的格式 格式如下 2012-9-8 比如你发布的新闻如下1.第一条最新资讯
2012-9-8就比如上面的格式哦 呵呵后面的2可以修改为0,1,2,3,4这几种格式 分别表示不同的长短时间格式,你可以试试哦...
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行