<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>aitaka</author_name>
  <author_url>https://blog.hatena.ne.jp/aitaka/</author_url>
  <blog_title>技術メモ</blog_title>
  <blog_url>https://aitaka.hatenablog.jp/</blog_url>
  <categories>
    <anon>shell</anon>
  </categories>
  <description>指定期間の中で日付を使ってごにょごにょしたい。 s=`date -d $start_date +%s` e=`date -d $end_date +%s` period=`expr \( $e - $s \) / 60 / 60 / 24` for i in $period # 一日だけの場合は別途調整する必要あり do year=`date +&quot;%Y&quot; -d &quot;$start_date +$i days&quot;` month=`date +&quot;%m&quot; -d &quot;$start_date +$i days&quot;` day=`date +&quot;%d&quot; -d &quot;$start_date +$i days&quot;` # 処理 d…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Faitaka.hatenablog.jp%2Fentry%2F2017%2F04%2F17%2F205551&quot; title=&quot;指定期間の中で処理を繰り返す - 技術メモ&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>2017-04-17 20:55:51</published>
  <title>指定期間の中で処理を繰り返す</title>
  <type>rich</type>
  <url>https://aitaka.hatenablog.jp/entry/2017/04/17/205551</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
