改变下载列表日期显示格式“****年*月*日*时*分*秒”为“****.*.*”_风讯Cms教程
教程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)把
在文件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教程-改变下载列表日期显示格式“****年*月*日*时*分*秒”为“****.*.*”。