<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>no-work-no-life-4081</author_name>
  <author_url>https://blog.hatena.ne.jp/no-work-no-life-4081/</author_url>
  <blog_title>AppSeedのアプリ開発ブログ</blog_title>
  <blog_url>https://develop.hateblo.jp/</blog_url>
  <categories>
    <anon>PHP</anon>
    <anon>サーバー開発</anon>
  </categories>
  <description>サーバー開発途中で遭遇した問題の解決方法に関するメモ。DateTime型はそのままだとprint出力できない。PHPで現在の時刻をDateTime型で取得して、printで出力しようとしたら以下のようなエラーが出ました。Recoverable fatal error: Object of class DateTime could not be converted to string in...DateTime オブジェクトはStringにコンバートできないというエラーみたいです。</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdevelop.hateblo.jp%2Fentry%2Fphp-datetime-string&quot; title=&quot;【PHP】DateTime型の値を文字列（String）にする方法 - AppSeedのアプリ開発ブログ&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>https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcScS4wA_hHDvXFFZ3TjpEzxjO8fTpH39SDiNRpr17PhmIdfKgGDgA</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2019-02-25 09:33:53</published>
  <title>【PHP】DateTime型の値を文字列（String）にする方法</title>
  <type>rich</type>
  <url>https://develop.hateblo.jp/entry/php-datetime-string</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
