<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>macperl</author_name>
  <author_url>https://blog.hatena.ne.jp/macperl/</author_url>
  <blog_title>備忘録。</blog_title>
  <blog_url>https://macperl.hatenadiary.org/</blog_url>
  <categories>
    <anon>Perl</anon>
  </categories>
  <description>簡単なプログラムにものすごく時間がかかってしまいました。 さて、任意の日時に経過日数を与え、その日付を求める方法。 使用するモジュールはDate::Calcです。 use Date::Calc; use strct; #現在の日時を取得 my ( $y, $m , $d ) = Date::Calc::Today; print &quot;$y-$m-$d&quot;; #10日後の日時を求める my ( $new_y , $new_m , $new_d ) = Date::Calc::Add_Delta_YMDHMS( $y , $m , $d , 0 , 0, 0 , #経過前の日時 0 , 0 , 10 ,…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmacperl.hatenadiary.org%2Fentry%2F20070126%2F1169833860&quot; title=&quot;Date::Calcモジュールで経過日時をもとめる。 - 備忘録。&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>2007-01-26 02:51:00</published>
  <title>Date::Calcモジュールで経過日時をもとめる。</title>
  <type>rich</type>
  <url>https://macperl.hatenadiary.org/entry/20070126/1169833860</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
