<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kawa1128</author_name>
  <author_url>https://blog.hatena.ne.jp/kawa1128/</author_url>
  <blog_title>kawa1128の日記</blog_title>
  <blog_url>https://kawa1128.hatenadiary.org/</blog_url>
  <categories>
    <anon>Python</anon>
    <anon>備忘録</anon>
  </categories>
  <description>Pythonでエポック秒を扱わないといけない必要性があっててこづったのでその記録。 今後のことを考えて、TimeZoneを考慮する場合。pytzのインストール。Pypiから。2009/12/28 00:00:00 JSTをエポック秒に変換。ちなみに。Perlの場合。 use strict; use warnings; use Time::Local qw( timegm timelocal ); $ENV{'TZ'} = 'Asia/Tokyo'; my $epoch_gmt = timegm(0, 0, 0, 28, 12 - 1, 2009 - 1900); my $epoch_local…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkawa1128.hatenadiary.org%2Fentry%2F20091228%2F1262002938&quot; title=&quot;日付からエポック秒に変換 - kawa1128の日記&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2009-12-28 21:22:18</published>
  <title>日付からエポック秒に変換</title>
  <type>rich</type>
  <url>https://kawa1128.hatenadiary.org/entry/20091228/1262002938</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
