<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title><![CDATA[向东博客 专注WEB应用 构架之美 --- 构架之美，在于尽态极妍 | 应用之美，在于药到病除]]></title> 
<link>https://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>https://jackxiang.com/post/2085/</link>
<title><![CDATA[mysql中如何获取年、月、日及本周是一年中的第几周？？ ]]></title> 
<author>jack &lt;xdy108@126.com&gt;</author>
<category><![CDATA[WEB2.0]]></category>
<pubDate>Mon, 19 Oct 2009 04:56:38 +0000</pubDate> 
<guid>https://jackxiang.com/post/2085/</guid> 
<description>
<![CDATA[ 
	select year(curdate()),month(curdate()),day(curdate());<br/><br/>select weekofyear(curdate());<br/><br/>有点细微的差别，weekofyear(date)相当于week(date,3). <br/>下面是week(date,Mode)，取值的说明，根据自己的实际情况取自己想要的值 <br/><br/>Mode 工作日 范围 Week 1 为第一周 ... <br/>0&nbsp;&nbsp;&nbsp;&nbsp;周日&nbsp;&nbsp;0-53 本年度中有一个周日 <br/>1&nbsp;&nbsp;&nbsp;&nbsp;周一&nbsp;&nbsp;0-53 本年度中有3天以上 <br/>2&nbsp;&nbsp;&nbsp;&nbsp;周日&nbsp;&nbsp;1-53 本年度中有一个周日 <br/>3&nbsp;&nbsp;&nbsp;&nbsp;周一&nbsp;&nbsp;1-53 本年度中有3天以上 <br/>4&nbsp;&nbsp;&nbsp;&nbsp;周日&nbsp;&nbsp;0-53 本年度中有3天以上 <br/>5&nbsp;&nbsp;&nbsp;&nbsp;周一&nbsp;&nbsp;0-53 本年度中有一个周一 <br/>6&nbsp;&nbsp;&nbsp;&nbsp;周日&nbsp;&nbsp;1-53 本年度中有3天以上 <br/>7&nbsp;&nbsp;&nbsp;&nbsp;周一&nbsp;&nbsp;1-53 本年度中有一个周一 <br/><br/>select date_format(now(),'%Y') <br/><br/>select date_format(now(),'%m') <br/><br/>select date_format(now(),'%e') <br/><br/>select date_format(now(),'%U')<br/><br/>select year(curdate()),month(curdate()),dayofyear(curdate()),weekofyear(curdate());<br/>
]]>
</description>
</item><item>
<link>https://jackxiang.com/post/2085/#blogcomment51487</link>
<title><![CDATA[[评论] mysql中如何获取年、月、日及本周是一年中的第几周？？ ]]></title> 
<author>mm &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Thu, 17 Dec 2009 02:36:37 +0000</pubDate> 
<guid>https://jackxiang.com/post/2085/#blogcomment51487</guid> 
<description>
<![CDATA[ 
	tk
]]>
</description>
</item>
</channel>
</rss>