{"height":"190","version":"1.0","published":"2017-12-12 15:49:27","author_name":"CortYuming","categories":["Python"],"blog_title":"\u724c\u8a9e\u5099\u5fd8\u9332 -pygo","provider_url":"https://hatena.blog","image_url":null,"type":"rich","blog_url":"https://cortyuming.hateblo.jp/","author_url":"https://blog.hatena.ne.jp/CortYuming/","width":"100%","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fcortyuming.hateblo.jp%2Fentry%2F2017%2F12%2F12%2F154927\" title=\"Python\u3067datetime\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3068unixtime\u306e\u30e1\u30e2 - \u724c\u8a9e\u5099\u5fd8\u9332 -pygo\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","url":"https://cortyuming.hateblo.jp/entry/2017/12/12/154927","description":"(python2.7.13) In [1]: from datetime import datetime In [2]: now = datetime.now() In [3]: now Out[3]: datetime.datetime(2017, 12, 12, 15, 42, 57, 966893) In [4]: int(now.strftime('%s')) Out[4]: 1513060977 In [5]: datetime.fromtimestamp(1513060977) Out[5]: datetime.datetime(2017, 12, 12, 15, 42, 57) \u2026","title":"Python\u3067datetime\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3068unixtime\u306e\u30e1\u30e2","provider_name":"Hatena Blog"}