<i id='8uD1s'><tr id='8uD1s'><dt id='8uD1s'><q id='8uD1s'><span id='8uD1s'><b id='8uD1s'><form id='8uD1s'><ins id='8uD1s'></ins><ul id='8uD1s'></ul><sub id='8uD1s'></sub></form><legend id='8uD1s'></legend><bdo id='8uD1s'><pre id='8uD1s'><center id='8uD1s'></center></pre></bdo></b><th id='8uD1s'></th></span></q></dt></tr></i><div id='8uD1s'><tfoot id='8uD1s'></tfoot><dl id='8uD1s'><fieldset id='8uD1s'></fieldset></dl></div>

<small id='8uD1s'></small><noframes id='8uD1s'>

    <bdo id='8uD1s'></bdo><ul id='8uD1s'></ul>
    1. <tfoot id='8uD1s'></tfoot>

    2. <legend id='8uD1s'><style id='8uD1s'><dir id='8uD1s'><q id='8uD1s'></q></dir></style></legend>

        检查时间戳是否是今天

        时间:2024-04-12

        <legend id='kzceE'><style id='kzceE'><dir id='kzceE'><q id='kzceE'></q></dir></style></legend>
          <tbody id='kzceE'></tbody>

        <small id='kzceE'></small><noframes id='kzceE'>

        1. <i id='kzceE'><tr id='kzceE'><dt id='kzceE'><q id='kzceE'><span id='kzceE'><b id='kzceE'><form id='kzceE'><ins id='kzceE'></ins><ul id='kzceE'></ul><sub id='kzceE'></sub></form><legend id='kzceE'></legend><bdo id='kzceE'><pre id='kzceE'><center id='kzceE'></center></pre></bdo></b><th id='kzceE'></th></span></q></dt></tr></i><div id='kzceE'><tfoot id='kzceE'></tfoot><dl id='kzceE'><fieldset id='kzceE'></fieldset></dl></div>
            1. <tfoot id='kzceE'></tfoot>
                  <bdo id='kzceE'></bdo><ul id='kzceE'></ul>
                  本文介绍了检查时间戳是否是今天的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我有一个以下格式的时间戳(由于 PHP 的优点可以轻松更改!).

                  I've got a timestamp in the following format (Which can easily be changed thanks to the beauties of PHP!).

                  2011-02-12 14:44:00

                  2011-02-12 14:44:00

                  检查这个时间戳是否是今天拍摄的最快/最简单的方法是什么?

                  What is the quickest/simplest way to check if this timestamp was taken today?

                  推荐答案

                  我认为:

                  date('Ymd') == date('Ymd', strtotime($timestamp))
                  

                  这篇关于检查时间戳是否是今天的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  上一篇:在午夜获取今天的时间戳? 下一篇:PHP - 如何使用 $timestamp 检查今天是星期一还是本月的第一天?

                  相关文章

                    <i id='1FeXH'><tr id='1FeXH'><dt id='1FeXH'><q id='1FeXH'><span id='1FeXH'><b id='1FeXH'><form id='1FeXH'><ins id='1FeXH'></ins><ul id='1FeXH'></ul><sub id='1FeXH'></sub></form><legend id='1FeXH'></legend><bdo id='1FeXH'><pre id='1FeXH'><center id='1FeXH'></center></pre></bdo></b><th id='1FeXH'></th></span></q></dt></tr></i><div id='1FeXH'><tfoot id='1FeXH'></tfoot><dl id='1FeXH'><fieldset id='1FeXH'></fieldset></dl></div>

                    1. <small id='1FeXH'></small><noframes id='1FeXH'>

                    2. <legend id='1FeXH'><style id='1FeXH'><dir id='1FeXH'><q id='1FeXH'></q></dir></style></legend>
                        <bdo id='1FeXH'></bdo><ul id='1FeXH'></ul>
                      <tfoot id='1FeXH'></tfoot>