<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>happyholiday</author_name>
  <author_url>https://blog.hatena.ne.jp/happyholiday/</author_url>
  <blog_title>六帖のかたすみ</blog_title>
  <blog_url>https://rokujo.hatenadiary.com/</blog_url>
  <categories>
    <anon>プログラミング</anon>
  </categories>
  <description>午前中にLanguageTrainerを実行したらなぜか復習の問題が1問も出題されない謎の現象が起きた。いろいろ調べてみるとなぜかSQL文の日付の条件が1日前になっている。現在日付をゲットするdateオブジェクトの値を出力すると、なんと日本時間から13時間も遅れていることが分かった。これはGMT-4だから、ニューヨークのタイムゾーンに相当する。miraiserverはニューヨークにあるのかな。 date_default_timezone_set('Asia/Tokyo'); と記述することで正常に動作するようになった。現在時刻を使用するアプリケーションでは、タイムゾーンの考慮も必須になるんだな…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Frokujo.hatenadiary.com%2Fentry%2F20140903%2F1409692518&quot; title=&quot;タイムゾーン - 六帖のかたすみ&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>2014-09-03 06:15:18</published>
  <title>タイムゾーン</title>
  <type>rich</type>
  <url>https://rokujo.hatenadiary.com/entry/20140903/1409692518</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
