<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tototoshi</author_name>
  <author_url>https://blog.hatena.ne.jp/tototoshi/</author_url>
  <blog_title>tototoshi の日記</blog_title>
  <blog_url>https://tototoshi.hatenablog.com/</blog_url>
  <categories>
    <anon>PHP</anon>
  </categories>
  <description>PHP Advent Calendar 2013 - Qiita の 23 日目です。 strtotime の話をします。 +n month の罠 日時を扱うのは大抵どの言語でも難しいです。PHPでももちろんそう。PHP で日付の足し算をするのには strtotime を使います。 echo date('Y-m-d', strtotime('2013-01-31 +1 day')) . PHP_EOL; //=&gt; 2013-02-01 strtotime はすごく便利ですが、うかつに月の計算をすると予期しない結果が返ってきます。 echo date('Y-m-d', strtotime('20…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftototoshi.hatenablog.com%2Fentry%2F20131223%2F1387782582&quot; title=&quot;+n month の罠 - tototoshi の日記&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>2013-12-23 16:09:42</published>
  <title>+n month の罠</title>
  <type>rich</type>
  <url>https://tototoshi.hatenablog.com/entry/20131223/1387782582</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
