{"provider_name":"Hatena Blog","type":"rich","blog_url":"https://www.whyit.work/","provider_url":"https://hatena.blog","published":"2018-02-26 22:52:35","height":"190","width":"100%","version":"1.0","author_url":"https://blog.hatena.ne.jp/zakiyamatakashi/","blog_title":"Why it doesn't work?","author_name":"zakiyamatakashi","description":"time\u30e2\u30b8\u30e5\u30fc\u30eb\u3092\u4f7f\u7528\u3057\u3066\u73fe\u5728\u6642\u523b\u3068\u30a8\u30dd\u30c3\u30af\u306e\u5909\u63db import time # \u73fe\u5730\u306e\u73fe\u5728\u6642\u523b\u306e\u53d6\u5f97 now = time.localtime() print(now) # => time.struct_time(tm_year=2019, tm_mon=11, tm_mday=22, tm_hour=10, tm_min=7, tm_sec=25, tm_wday=4, tm_yday=326, tm_isdst=0) # \u73fe\u5728\u6642\u523b\u304b\u3089\u30a8\u30dd\u30c3\u30af\u3078\u306e\u5909\u63db epoch = time.mktime(now) print(epoch) # => 1574384845.0 (\u5358\u4f4d\u306f\u79d2) # \u30a8\u30dd\u30c3\u30af\u2026","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.whyit.work%2Fentry%2F2018%2F02%2F26%2F225235\" title=\"Python time\u30e2\u30b8\u30e5\u30fc\u30eb\u3092\u4f7f\u7528\u3057\u305fEpoch(\u30a8\u30dd\u30c3\u30af)\u306e\u5909\u63db - Why it doesn&#39;t work?\" 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://www.whyit.work/entry/2018/02/26/225235","image_url":null,"title":"Python time\u30e2\u30b8\u30e5\u30fc\u30eb\u3092\u4f7f\u7528\u3057\u305fEpoch(\u30a8\u30dd\u30c3\u30af)\u306e\u5909\u63db","categories":["Python","Python3\u691c\u8a3c\u6e08\u307f"]}