<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>shigemk2</author_name>
  <author_url>https://blog.hatena.ne.jp/shigemk2/</author_url>
  <blog_title>by shigemk2</blog_title>
  <blog_url>https://www.shigemk2.com/</blog_url>
  <categories>
    <anon>php</anon>
  </categories>
  <description>PHP による日付・時刻・時間の計算・演算のまとめ - hoge256ブログ &lt;?php /** * 2つの日付の差を求める関数 * $year1 1つのめ日付の年 * $month1 1つめの日付の月 * $day1 1つめの日付の日 * $year2 2つのめ日付の年 * $month2 2つめの日付の月 * $day2 2つめの日付の日 */ function compareDate($year1, $month1, $day1, $year2, $month2, $day2) { $dt1 = mktime(0, 0, 0, $month1, $day1, $year1); $dt2 …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.shigemk2.com%2Fentry%2F20120104%2F1325623176&quot; title=&quot;2つの日付の差を求める - by shigemk2&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>2012-01-04 05:39:36</published>
  <title>2つの日付の差を求める</title>
  <type>rich</type>
  <url>https://www.shigemk2.com/entry/20120104/1325623176</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
