月上之木 2007-1-17 19:58
[模板制做指南]之如何使用页面时间标签
解读 [url=http://bbs.rainbowsoft.org/viewthread.php?tid=253&extra=page%3D1]Z-Blog 模版标签库及相关说明(1.4或更高)[/url] 。
日志页面文件生成的时间:
<#BLOG_CREATE_TIME#> 2007-1-17 19:21:26
日志发表的时间:
<#article/posttime/longdate#> 2007年1月13日
<#article/posttime/shortdate#> 2007-1-13
<#article/posttime/longtime#> 15:31:13
<#article/posttime/shorttime#> 15:31
<#article/posttime/year#> 2007
<#article/posttime/month#> 1
<#article/posttime/monthname#> Jan //LANGUAGE文件中对应 ZVA_Month_Abbr(12)
<#article/posttime/day#> 13
<#article/posttime/weekday#> 7
<#article/posttime/weekdayname#> Sat //LANGUAGE文件中对应 ZVA_Week_Abbr(7)
<#article/posttime/hour#> 15
<#article/posttime/minute#> 31
<#article/posttime/second#> 13
小提示:
如何得到中文的星期标签呢?将 LANGUAGE\SimpChinese.asp 中 ZVA_Week_Abbr(1...7) 值对应改成中文(一至七),以" 星期<#article/posttime/weekdayname#> "格式调用即可。
[[i] 本帖最后由 月上之木 于 2007-5-14 02:53 编辑 [/i]]
greenmango 2007-8-17 09:15
学习一下
学习一下
daysun 2007-8-27 16:56
<#article/posttime/shortdate#> 2007-1-13
我想改成月日年,在哪可以修改啊?急哦
eboyhu 2007-12-8 17:54
正在移植一theme 这数据还真是有用 以后就来这查数据咯