{"id":364,"date":"2010-10-01T02:12:03","date_gmt":"2010-10-01T02:12:03","guid":{"rendered":"http:\/\/enjoyasp.net\/?p=364"},"modified":"2010-10-01T02:12:03","modified_gmt":"2010-10-01T02:12:03","slug":"%e6%97%a5%e6%9c%9f%e8%bd%ac%e6%8d%a2-datetime-now-%e5%8f%8a-tostring","status":"publish","type":"post","link":"https:\/\/enjoyasp.net\/index.php\/2010\/10\/01\/%e6%97%a5%e6%9c%9f%e8%bd%ac%e6%8d%a2-datetime-now-%e5%8f%8a-tostring\/","title":{"rendered":"\u65e5\u671f\u8f6c\u6362 DateTime.Now \u53ca ToString"},"content":{"rendered":"<blockquote><p>DateTime.Now.ToString(&#8220;yyyy-MM-dd&#8221;);??????????????? \/\/2009-08-14<br \/>\nDateTime.Now.ToString(&#8220;yyyy\/MM\/dd HH:mm:ss&#8221;); \/\/2009-08-14 15:57:12&#8243;<\/p>\n<p>ToString \u6309\u6307\u5b9a\u5f62\u5f0f\u8f6c\u6362 DateTime.Now.ToString(&#8220;aaaaa&#8221;) ; \u8f93\u51faaaaaa \u9664\u975e\u5728\u53c2\u6570\u4e2d\u6307\u5b9a\u4e86\u7279\u5b9a\u7684\u683c\u5f0f\u3002\u5982\uff1a<br \/>\n\u5e74\uff1ayyyy 2009, yyy 2009, yy 09, y 9<br \/>\n\u6708\uff1a MM 08 \uff08\u4e0d\u662fmm\u7684\u539f\u56e0\u662fmm\u4ee3\u8868\u65f6\u95f4\u4e2d\u7684\u5206\u949f\uff09<br \/>\n\u65e5\uff1add: 14<br \/>\n\u65f6\uff1aHH: 16 \uff08\u4ee524\u5c0f\u65f6\u5236\uff09 hh:04 (12\u5c0f\u65f6\u5236)<br \/>\n\u5206\uff1amm<br \/>\n\u79d2\uff1ass<\/p>\n<p>\u5373\u65f6\u95f4\u63a7\u5236\u90fd\u7528\u5c0f\u5199\uff0c\u9664\u975e\u662f\u91cd\u5408\u7684MM\u4e0emm, \u53ca\u5c0f\u65f6\u3002<\/p>\n<p>\/\/2009\u5e7409\u670818 17\u65f655\u520648\u79d2<br \/>\n? System.DateTime.Now.ToString(&#8220;yyyy\u5e74MM\u6708dd HH\u65f6mm\u5206ss\u79d2&#8221;);<\/p>\n<p>??? 12345.ToString(&#8220;n&#8221;); \/\/\u751f\u6210 12,345.00<br \/>\n??? 12345.ToString(&#8220;C&#8221;); \/\/\u751f\u6210 \uffe512,345.00<br \/>\n??? 12345.ToString(&#8220;p&#8221;); &#8220;1,234,500.00%&#8221;<\/p><\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>DateTime.Now.ToString(&#8220;yyyy-MM-dd&#8221;);??????? [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[35],"tags":[],"class_list":["post-364","post","type-post","status-publish","format-standard","hentry","category-aspdotnet"],"blocksy_meta":[],"_links":{"self":[{"href":"https:\/\/enjoyasp.net\/index.php\/wp-json\/wp\/v2\/posts\/364","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/enjoyasp.net\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/enjoyasp.net\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/enjoyasp.net\/index.php\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/enjoyasp.net\/index.php\/wp-json\/wp\/v2\/comments?post=364"}],"version-history":[{"count":0,"href":"https:\/\/enjoyasp.net\/index.php\/wp-json\/wp\/v2\/posts\/364\/revisions"}],"wp:attachment":[{"href":"https:\/\/enjoyasp.net\/index.php\/wp-json\/wp\/v2\/media?parent=364"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/enjoyasp.net\/index.php\/wp-json\/wp\/v2\/categories?post=364"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/enjoyasp.net\/index.php\/wp-json\/wp\/v2\/tags?post=364"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}