<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>陶●工作室 &#187; 日子格式</title>
	<atom:link href="http://taoworkshop.com/tag/%e6%97%a5%e5%ad%90%e6%a0%bc%e5%bc%8f/feed/" rel="self" type="application/rss+xml" />
	<link>http://taoworkshop.com</link>
	<description>站長指南-Web hosting及WordPress設定</description>
	<lastBuildDate>Wed, 13 Mar 2013 11:39:28 +0000</lastBuildDate>
	<language>zh-TW</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=4.2.38</generator>
	<item>
		<title>WP: 更改日期格式</title>
		<link>http://taoworkshop.com/2011/11/13/date-format/</link>
		<comments>http://taoworkshop.com/2011/11/13/date-format/#comments</comments>
		<pubDate>Sun, 13 Nov 2011 02:37:48 +0000</pubDate>
		<dc:creator><![CDATA[陶]]></dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[FabThemes]]></category>
		<category><![CDATA[Template修改]]></category>
		<category><![CDATA[日子格式]]></category>

		<guid isPermaLink="false">http://taoworkshop.com/?p=92</guid>
		<description><![CDATA[本站的隨template來的日子格式為: 十一月 &#8211; 13 &#8211; 2011 實<a href="http://taoworkshop.com/2011/11/13/date-format/">&#160;&#160;[ Read More ]</a>]]></description>
				<content:encoded><![CDATA[<p>本站的隨template來的日子格式為: 十一月 &#8211; 13 &#8211; 2011<br />
實在有點不順眼。<br />
如改做 13 / 11 / 2011，<br />
以FabThemes的Selene Template為例，<br />
只需把single.php, archive.php, search.php 的</p>
<pre>&lt;?php the_time('F - j - Y'); ?&gt;</pre>
<p>修改</p>
<pre>&lt;?php the_time('j / n / Y'); ?&gt;</pre>
<p><span id="more-92"></span></p>
<p>如要99年5月1日顯示為 01-05-99，則修改為</p>
<pre>&lt;?php the_time('d-m-y'); ?&gt;</pre>
<p>&nbsp;</p>
<p>日子:<br />
d: 01-31<br />
j: 1-31</p>
<p>月份:<br />
F: January, February, &#8230;<br />
M: Jan, Feb, &#8230;<br />
m: 01-12<br />
n: 1-12</p>
<p>年份:<br />
Y: 2011<br />
y: 11</p>
<p>而更多的日子格式，可參考 <a href="http://php.net/manual/en/function.date.php">Php Manual</a>。</p>
]]></content:encoded>
			<wfw:commentRss>http://taoworkshop.com/2011/11/13/date-format/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
