{"provider_name":"Hatena Blog","version":"1.0","author_url":"https://blog.hatena.ne.jp/tmtms/","published":"2019-12-21 00:00:00","type":"rich","blog_url":"https://blog.tmtms.net/","blog_title":"tmtms \u306e\u30e1\u30e2","categories":["Ruby","Ruby2.7"],"width":"100%","image_url":null,"provider_url":"https://hatena.blog","description":"Ruby 2.7 \u30a2\u30c9\u30d9\u30f3\u30c8\u30ab\u30ec\u30f3\u30c0\u30fc\u306e21\u65e5\u76ee\u306e\u8a18\u4e8b\u3067\u3059\u3002 qiita.com Time Time#inspect : \u5f62\u5f0f\u5909\u66f4 Time#ceil / Time#floor \u8ffd\u52a0 Date Date.jisx0301, Date#jisx0301 : \u4ee4\u548c\u5bfe\u5fdc Time Time#inspect : \u5f62\u5f0f\u5909\u66f4 Time#inspect \u304c\u5c0f\u6570\u70b9\u4ee5\u4e0b\u306e\u79d2\u6570\u3092\u8fd4\u3059\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\u3002#to_s \u306f\u5909\u66f4\u3055\u308c\u3066\u307e\u305b\u3093\u3002 t = Time.now p t #=> 2019-12-21 16:05:08.589390327 +0900 p t.to_s #=> \"2019-12-21 16:05:08 \u2026","height":"190","url":"https://blog.tmtms.net/entry/201912/ruby27-time-date","title":"Ruby 2.7 \u306e\u5909\u66f4\u70b9 - Time / Date","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.tmtms.net%2Fentry%2F201912%2Fruby27-time-date\" title=\"Ruby 2.7 \u306e\u5909\u66f4\u70b9 - Time / Date - tmtms \u306e\u30e1\u30e2\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","author_name":"tmtms"}