<?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[ Android获取系统时间]]></title> 
<author>jack &lt;xdy108@126.com&gt;</author>
<category><![CDATA[WEB2.0]]></category>
<pubDate>Tue, 24 Jun 2014 05:34:30 +0000</pubDate> 
<guid>http://www.jackxiang.com/post//</guid> 
<description>
<![CDATA[ 
	<br/>&nbsp;&nbsp;&nbsp;&nbsp;SimpleDateFormat formatter = new SimpleDateFormat (&quot;yyyy年MM月dd日 HH:mm:ss&quot;);&nbsp;&nbsp;<br/>&nbsp;&nbsp;&nbsp;&nbsp;Date curDate = new Date(System.currentTimeMillis());//获取当前时间&nbsp;&nbsp;<br/>&nbsp;&nbsp;&nbsp;&nbsp;String str = formatter.format(curDate);&nbsp;&nbsp;<br/><br/> ------------------------------------------------------------------华丽的分割线----------------------------------------------------<br/><br/> <br/><br/> <br/>可以获取当前的年月时分,也可以分开写代码&nbsp;&nbsp;收藏代码<br/><br/>&nbsp;&nbsp;&nbsp;&nbsp;SimpleDateFormat sDateFormat = new SimpleDateFormat(&quot;yyyy-MM-dd hh:mm:ss&quot;);&nbsp;&nbsp;<br/>&nbsp;&nbsp;&nbsp;&nbsp;String date = sDateFormat.format(new java.util.Date());&nbsp;&nbsp;<br/><br/> ------------------------------------------------------------------华丽的分割线----------------------------------------------------<br/><br/> <br/>如果想获取当前的年月,则可以这样写(只获取时间或秒种一样)代码&nbsp;&nbsp;收藏代码<br/><br/>&nbsp;&nbsp;&nbsp;&nbsp;SimpleDateFormat sdf=new SimpleDateFormat(&quot;yyyy-MM&quot;);&nbsp;&nbsp;&nbsp;&nbsp;<br/>&nbsp;&nbsp;&nbsp;&nbsp;String date=sdf.format(new java.util.Date());&nbsp;&nbsp; <br/><br/> -------------------------------------------------------------------华丽的分割线---------------------------------------------------<br/><br/> <br/>当然还有就是可以指定时区的时间(待)代码&nbsp;&nbsp;收藏代码<br/><br/>&nbsp;&nbsp;&nbsp;&nbsp;df = DateFormat.getDateTimeInstance(DateFormat.FULL,DateFormat.FULL,Locale.CHINA);&nbsp;&nbsp;<br/>&nbsp;&nbsp;&nbsp;&nbsp;System.out.println(df.format(new Date()));&nbsp;&nbsp;<br/><br/><br/><br/><br/><br/>来自：http://blog.csdn.net/achellies/article/details/6971559
]]>
</description>
</item><item>
<link>http://www.jackxiang.com/post//#blogcomment</link>
<title><![CDATA[[评论]  Android获取系统时间]]></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>