{"id":116,"date":"2019-07-23T23:57:21","date_gmt":"2019-07-23T23:57:21","guid":{"rendered":"https:\/\/oidema-jp.com\/media\/2019-07-23-235721\/"},"modified":"2019-07-23T23:57:21","modified_gmt":"2019-07-23T23:57:21","slug":"2019-07-23-235721","status":"publish","type":"post","link":"https:\/\/oidema-jp.com\/media\/2019-07-23-235721\/","title":{"rendered":"\u3010Ruby Silver \u8a66\u9a13\u3011\u65e5\u4ed8\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u3092\u6307\u5b9a\u3059\u308b"},"content":{"rendered":"<h2 id=\"i-0\">\u4eca\u56de\u306e\u554f\u984c<\/h2>\n<blockquote>\n<p>\u671f\u5f85\u3057\u305f\u51fa\u529b\u7d50\u679c\u306b\u306a\u308b\u3088\u3046\u306bXXXX\u306b\u9069\u5207\u306a\u30b3\u30fc\u30c9\u3092\u9078\u3079<\/p>\n<\/blockquote>\n<pre class=\"code lang-ruby\" data-lang=\"ruby\" data-unlink=\"\">d = <span class=\"synType\">Date<\/span>.new(<span class=\"synConstant\">2015<\/span>, <span class=\"synConstant\">1<\/span>, <span class=\"synConstant\">5<\/span>)\nputs d.strftime(<span class=\"synType\">XXXX<\/span>)\n<\/pre>\n<blockquote>\n<p>\u51fa\u529b\u7d50\u679c<br \/>\n01\/05\/15 #\u2190\u3053\u3044\u3064\u3092\u51fa\u529b<\/p>\n<p>\u9078\u629e\u80a2<br \/>\n\u201c%x\u201d<\/p>\n<p>\u9078\u629e\u80a2<br \/>\n\u201c%m\/%d\/%Y\u201d<\/p>\n<p>\u9078\u629e\u80a2<br \/>\n\u201c%m\/%D\/%y\u201d<\/p>\n<p>\u9078\u629e\u80a2<br \/>\n\u201c%M\/%d\/%y\u201d<\/p>\n<\/blockquote>\n<p>\u4f8b\u306e\u3054\u3068\u304f\u5148\u306b\u89e3\u7b54\u3092\u8a00\u3063\u3066\u304a\u304f\u3068\u7b54\u3048\u306f<code>\"%x\"<\/code>\u306b\u306a\u308a\u307e\u3059\u3002<br \/>\n\u591a\u5206\u3001\u4eca\u56de\u306e\u89e3\u6cd5\u306f\u5358\u7d14\u306b<code>\"%x\"<\/code>\u4ee5\u5916\u306f<code>%m<\/code>\uff08\u6708\uff09\u3068\u304b<code>%M<\/code><br \/>\n(\u5206)\u304b\u3089\u59cb\u307e\u3063\u3066\u3044\u3066\u3044\u308b\u3001\u3064\u307e\u308aMonth\u306e\u3068\u3053\u304b\u3089\u306b\u306a\u3063\u3066\u3044\u308b\u306e\u3067\u6d88\u53bb\u6cd5\u3067\u9078\u3076\u3093\u3060\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>\u6d41\u77f3\u306b\u51fa\u984c\u8005\u3082\u3001\u3053\u3093\u306a\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u3092\u6697\u8a18\u3059\u308b\u307b\u3069\u6687\u3058\u3083\u306a\u3044\u3063\u3066\u308f\u304b\u3063\u3066\u307e\u3059\u3088\u306d\u7b11<\/p>\n<p>\u3061\u306a\u307f\u306b\u65e5\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u3067\u6307\u5b9a\u3067\u304d\u308b\u6587\u5b57\u306f\u4e0b\u8a18\u306e\u30ea\u30f3\u30af\u3067\u78ba\u8a8d\u3059\u308b\u4e8b\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p><a href=\"https:\/\/docs.ruby-lang.org\/ja\/latest\/class\/Date.html\">\u3010Ruby 2.6.0 \u30ea\u30d5\u30a1\u30ec\u30f3\u30b9\u30de\u30cb\u30e5\u30a2\u30eb &gt; \u30e9\u30a4\u30d6\u30e9\u30ea\u4e00\u89a7 &gt; date\u30e9\u30a4\u30d6\u30e9\u30ea &gt; Date\u30af\u30e9\u30b9\u3011<\/a><\/p>\n<p>\u3053\u306e\u8a18\u4e8b\u306f\u77ed\u3044\u3051\u3069\u3053\u3053\u307e\u3067<\/p>\n<p><a class=\"keyword\" href=\"http:\/\/d.hatena.ne.jp\/keyword\/Ruby\">Ruby<\/a> Silver\u306b\u95a2\u3059\u308b\u4ed6\u306e\u8a18\u4e8b\u306f<a href=\"https:\/\/oidema-jp.com\/media\/archive\/category\/Ruby%20Silver\">\u3053\u3061\u3089<\/a>\u3082\u3069\u3046\u305e\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4eca\u56de\u306e\u554f\u984c \u671f\u5f85\u3057\u305f\u51fa\u529b\u7d50\u679c\u306b\u306a\u308b\u3088\u3046\u306bXXXX\u306b\u9069\u5207\u306a\u30b3\u30fc\u30c9\u3092\u9078\u3079 d = Date.new(2015, 1, 5) puts d.strftime(XXXX) \u51fa\u529b\u7d50\u679c 01\/05\/15 #\u2190\u3053\u3044\u3064\u3092\u51fa\u529b \u9078\u629e\u80a2 \u201c &#8230; <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"om_disable_all_campaigns":false,"footnotes":""},"categories":[12],"tags":[],"class_list":{"0":"post-116","1":"post","2":"type-post","3":"status-publish","4":"format-standard","6":"category-ruby-silver","7":"entry","8":"nothumb"},"acf":[],"aioseo_notices":[],"mb":[],"mfb_rest_fields":["title","aioseo_notices"],"_links":{"self":[{"href":"https:\/\/oidema-jp.com\/media\/wp-json\/wp\/v2\/posts\/116","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/oidema-jp.com\/media\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/oidema-jp.com\/media\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/oidema-jp.com\/media\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/oidema-jp.com\/media\/wp-json\/wp\/v2\/comments?post=116"}],"version-history":[{"count":0,"href":"https:\/\/oidema-jp.com\/media\/wp-json\/wp\/v2\/posts\/116\/revisions"}],"wp:attachment":[{"href":"https:\/\/oidema-jp.com\/media\/wp-json\/wp\/v2\/media?parent=116"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/oidema-jp.com\/media\/wp-json\/wp\/v2\/categories?post=116"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/oidema-jp.com\/media\/wp-json\/wp\/v2\/tags?post=116"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}