<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title><![CDATA[向东博客 专注WEB应用 构架之美 --- 构架之美，在于尽态极妍 | 应用之美，在于药到病除]]></title> 
<link>http://www.jackxiang.com/index.php</link> 
<description><![CDATA[赢在IT，Playin' with IT,Focus on Killer Application,Marketing Meets Technology.]]></description> 
<language>zh-cn</language> 
<copyright><![CDATA[向东博客 专注WEB应用 构架之美 --- 构架之美，在于尽态极妍 | 应用之美，在于药到病除]]></copyright>
<item>
<link>http://www.jackxiang.com/post//</link>
<title><![CDATA[计算天数差的php小代码]]></title> 
<author>jack &lt;xdy108@126.com&gt;</author>
<category><![CDATA[WEB2.0]]></category>
<pubDate>Mon, 27 Sep 2010 09:26:43 +0000</pubDate> 
<guid>http://www.jackxiang.com/post//</guid> 
<description>
<![CDATA[ 
	<div class="code">&lt;?PHP<br/><br/>//今天与2009年1月1日相差多少天<br/>$Date_1=date(&quot;Y-m-d&quot;);<br/>$Date_2=&quot;2009-1-1&quot;;<br/>$d1=strtotime($Date_1);<br/>$d2=strtotime($Date_2);<br/>$Days=round(($d1-$d2)/3600/24);<br/>echo &quot;今天与2009年1月1日相差&quot;.$Days.&quot;天&quot;;<br/><br/>//今天到2009年12月31日还有多少天<br/>$Date_1=date(&quot;Y-m-d&quot;);<br/>$Date_2=&quot;2009-12-31&quot;;<br/>$d1=strtotime($Date_1);<br/>$d2=strtotime($Date_2);<br/>$Days=round(($d2-$d1)/3600/24);<br/>echo &quot;今天到2009年12月31日还有&quot;.$Days.&quot;天&quot;;<br/><br/>?&gt;</div><br/><br/>求两个日期的差数，例如2007-2-5 ~ 2007-3-6 的日期差数<br/>代码如下:<br/>答：(strtotime(‘2007-3-6&#039;)-strtotime(‘2007-2-5&#039;))/3600*24
]]>
</description>
</item><item>
<link>http://www.jackxiang.com/post//#blogcomment</link>
<title><![CDATA[[评论] 计算天数差的php小代码]]></title> 
<author> &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate> 
<guid>http://www.jackxiang.com/post//#blogcomment</guid> 
<description>
<![CDATA[ 
	
]]>
</description>
</item>
</channel>
</rss>