DBS独立服客服务

查看完整版本: [模板制做指南]之如何使用页面时间标签

月上之木 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]]

UooJoo 2007-1-27 20:06

收藏了!

dudali 2007-7-10 12:09

不错,谢谢

greenmango 2007-8-17 09:15

学习一下

学习一下

daysun 2007-8-27 16:56

<#article/posttime/shortdate#>          2007-1-13
我想改成月日年,在哪可以修改啊?急哦

daysun 2007-8-27 17:03

问题已解决 :lol

qinai 2007-9-4 09:34

做个记号,谢谢分享。

eboyhu 2007-12-8 17:54

正在移植一theme 这数据还真是有用 以后就来这查数据咯
页: [1]
查看完整版本: [模板制做指南]之如何使用页面时间标签