<?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: DateTime - Manual日付と時刻をあらわす。strtotimeはバグが起きやすかったりして、 公式で「使うな」と言われてしまっている。めんどくせー。使いかたはこう。 まず、DateTimeのインスタンスを作成する。 次に、各種メソッドでオブジェクトを操作する。 ね、簡単でしょ?ためしに$dateオブジェクトをprint_rすると、なんか配列が出力されたりします。 日付と時刻を出力したいときはformatメソッドを使いませう。 &lt;?php $date = new DateTime('2000-01-20'); print_r($date); $date = new Date…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.shigemk2.com%2Fentry%2F20120721%2F1342856355&quot; title=&quot;DateTimeクラス - 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-07-21 16:39:15</published>
  <title>DateTimeクラス</title>
  <type>rich</type>
  <url>https://www.shigemk2.com/entry/20120721/1342856355</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
