<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>GARAPON</author_name>
  <author_url>https://blog.hatena.ne.jp/GARAPON/</author_url>
  <blog_title>自分の仕事を憎むには人生は余りにも短い</blog_title>
  <blog_url>https://garapon.hatenablog.com/</blog_url>
  <categories>
    <anon>技術</anon>
  </categories>
  <description>AIXのdateは「date -date '1 day ago' '+%Y%m%d'」とかが使えない。もうねアボカドバナナ(ry なので対策考えた。1週間前の日付を取得する場合 スマートにperlワンナイラー 秒を取得して7日分マイナスして日付に戻す $perl -e '@T=localtime(time-86400*7);printf(&quot;%d%d%d \n&quot;,($T[5] + 1900),$T[4]+1, $T[3])' 20071221 漢らしくTZ 7日分の時間&amp;時差を引く （159=24*7-9） $env TZ=JST+159 date '+%Y%m%d' 20071221 一直線に…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fgarapon.hatenablog.com%2Fentry%2F20071228%2F1198846994&quot; title=&quot;AIXで日付計算 - 自分の仕事を憎むには人生は余りにも短い&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-12-28 22:03:14</published>
  <title>AIXで日付計算</title>
  <type>rich</type>
  <url>https://garapon.hatenablog.com/entry/20071228/1198846994</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
