{"author_name":"tnnsst35","version":"1.0","image_url":null,"height":"190","provider_name":"Hatena Blog","url":"https://blog.tnnsst35.me/entry/tech/php/423/","blog_url":"https://blog.tnnsst35.me/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.tnnsst35.me%2Fentry%2Ftech%2Fphp%2F423%2F\" title=\"\n\t\t\t\tPHP\u3067\u671f\u9593\u6307\u5b9a\u306e\u30bf\u30a4\u30de\u30fc\t\t - \u307c\u304f\u306e\u30bb\u30fc\u30d6\u30dd\u30a4\u30f3\u30c8\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_title":"\u307c\u304f\u306e\u30bb\u30fc\u30d6\u30dd\u30a4\u30f3\u30c8","provider_url":"https://hatena.blog","type":"rich","width":"100%","title":"\n\t\t\t\tPHP\u3067\u671f\u9593\u6307\u5b9a\u306e\u30bf\u30a4\u30de\u30fc\t\t","description":"<div class=\"section\"> \u3042\u308b\u671f\u9593\u4e2d\u306e\u307f\u52d5\u4f5c\u3059\u308b\u51e6\u7406\u3092\u30bf\u30a4\u30de\u30fc\u8a2d\u5b9a\u3057\u305f\u3044\u3068\u304d\u306b\u4fbf\u5229\u306a\u95a2\u6570\u3092\u3064\u304f\u3063\u3066\u304a\u304f\u3068\u306a\u306b\u304b\u3068\u91cd\u5b9d\u3059\u308b\u3002 public function in_time_range($from, $to) { $now = time(); $from = strtotime($from); $to = strtotime($to); if ($from <= $now && $now <= $to) { return true; } return false; } \u3053\u306e\u95a2\u6570\u3092\u4f7f\u3063\u3066\u300c2010\u5e7401\u670801\u65e5\uff5e2010\u5e7401\u670803\u65e5\u300d\u306e\u671f\u9593\u4e2d\u306b\u52d5\u4f5c\u3059\u308b\u51e6\u7406\u3092\u66f8\u304f\u3002 if (!i\u2026","categories":["PHP"],"published":"2009-11-25 14:40:11","author_url":"https://blog.hatena.ne.jp/tnnsst35/"}