改变下载列表日期显示格式“****年*月*日*时*分*秒”为“****.*.*”_风讯Cms教程

编辑Tag赚U币
教程Tag:暂无Tag,欢迎添加,赚取U币!
解决方法:
在文件Admin\Refresh\Function.asp中
(1)把
TempletContent = Replace(TempletContent,"{DownLoad_AddTime}",DownLoadRecordObj("AddTime"))
替换成
DateStr=DownLoadRecordObj("AddTime")
DateString = Year(DateStr)&"年"&Month(DateStr)&"月"&Day(DateStr)&"日"
TempletContent = Replace(TempletContent,"{DownLoad_AddTime}",DateString)
(2)把

TempletContent = Replace(TempletContent,"{DownLoad_EditTime}",DownLoadRecordObj("EditTime"))
替换成
dim DateStr,DateString
DateStr=DownLoadRecordObj("AddTime")
DateString = Year(DateStr)&"年"&Month(DateStr)&"月"&Day(DateStr)&"日"
TempletContent = Replace(TempletContent,"{DownLoad_EditTime}",DateString)

查看更多 风讯cms教程  风讯cms模板

来源:模板无忧//所属分类:风讯Cms教程/更新时间:2006-06-16
相关风讯Cms教程