<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>yoppy0066</author_name>
  <author_url>https://blog.hatena.ne.jp/yoppy0066/</author_url>
  <blog_title>とりあえずphpとか</blog_title>
  <blog_url>https://kimagureneet.hatenablog.com/</blog_url>
  <categories>
    <anon>mysql</anon>
  </categories>
  <description>大した話じゃないけど、ミスったのでメモしておく。calendar idtarget 12017-09-20 22017-09-21 32017-09-22 こんなテーブルがあって、今日(9/21)以下の日付のレコードを抽出したかった。ヒットしない select * from calendar where target &lt;= now();ヒット select * from calendar where target &lt;= date(now());now()は「2017-09-21 00:00:00」となるからあたり前なんだけど。。以上です</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkimagureneet.hatenablog.com%2Fentry%2F2017%2F09%2F21%2F102628&quot; title=&quot;【mysql】date型とnow()を比較する - とりあえずphpとか&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>2017-09-21 10:26:28</published>
  <title>【mysql】date型とnow()を比較する</title>
  <type>rich</type>
  <url>https://kimagureneet.hatenablog.com/entry/2017/09/21/102628</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
