{"description":"use Time::Piece; use Time::Seconds; use POSIX qw(strftime); sub print_tp { my $tp = shift; printf(\"date : %s\\ntzoffset: %d\\nepoch : %d\\nstrftime: %s\\n\\n\", $tp->strftime('%Y-%m-%d %T'), $tp->tzoffset, $tp->epoch, strftime('%Y-%m-%d %T', localtime($tp->epoch)), ); } print \"Time::Piece \",$Time::Piece::\u2026","author_name":"hirose31","blog_url":"https://hirose31.hatenablog.jp/","author_url":"https://blog.hatena.ne.jp/hirose31/","categories":["perl"],"height":"190","title":" Time::Piece \u3068\u30bf\u30a4\u30e0\u30be\u30fc\u30f3\u306e\u7518\u3044\u7f60","type":"rich","provider_url":"https://hatena.blog","width":"100%","version":"1.0","provider_name":"Hatena Blog","image_url":null,"url":"https://hirose31.hatenablog.jp/entry/20110210/1297341952","published":"2011-02-10 21:45:52","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhirose31.hatenablog.jp%2Fentry%2F20110210%2F1297341952\" title=\" Time::Piece \u3068\u30bf\u30a4\u30e0\u30be\u30fc\u30f3\u306e\u7518\u3044\u7f60 - \uff08\u3072\uff09\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>","blog_title":"\uff08\u3072\uff09\u30e1\u30e2"}