<legend id='ieOki'><style id='ieOki'><dir id='ieOki'><q id='ieOki'></q></dir></style></legend>
  • <tfoot id='ieOki'></tfoot>

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

        1970 年之前(甚至 1700 年之前)的 Unix 时间戳,使用 PHP

        时间:2024-04-12

            <tbody id='wJ4f1'></tbody>

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

            <legend id='wJ4f1'><style id='wJ4f1'><dir id='wJ4f1'><q id='wJ4f1'></q></dir></style></legend>

                • <bdo id='wJ4f1'></bdo><ul id='wJ4f1'></ul>
                  <tfoot id='wJ4f1'></tfoot>
                  <i id='wJ4f1'><tr id='wJ4f1'><dt id='wJ4f1'><q id='wJ4f1'><span id='wJ4f1'><b id='wJ4f1'><form id='wJ4f1'><ins id='wJ4f1'></ins><ul id='wJ4f1'></ul><sub id='wJ4f1'></sub></form><legend id='wJ4f1'></legend><bdo id='wJ4f1'><pre id='wJ4f1'><center id='wJ4f1'></center></pre></bdo></b><th id='wJ4f1'></th></span></q></dt></tr></i><div id='wJ4f1'><tfoot id='wJ4f1'></tfoot><dl id='wJ4f1'><fieldset id='wJ4f1'></fieldset></dl></div>
                  本文介绍了1970 年之前(甚至 1700 年之前)的 Unix 时间戳,使用 PHP的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  如何处理 01.01.1970 之前的日期?

                  how can i work with dates before 01.01.1970?

                  我需要获取从 1700 年开始的月份的第一天.

                  i need to get first day of the month for dates from year 1700.

                  我怎样才能做到这一点?

                  how can i achieve that?

                  提前谢谢你!

                  推荐答案

                  你可以使用DateTime.

                  例子:

                  <?php
                  $d = new DateTime("1780-06-01");
                  echo $d->format("l"); //Thursday
                  

                  但是,您应该考虑到公历在自始至终的不同时刻被采用世界.

                  You should, however, consider that the Gregorian Calendar was adopted in different instants throughout the world.

                  这篇关于1970 年之前(甚至 1700 年之前)的 Unix 时间戳,使用 PHP的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  上一篇:从 MySQL 表中选择 PHP 时间戳早于 X 的行 下一篇:MySQL CURRENT_TIMESTAMP 字段在每次更新时更新

                  相关文章

                  <tfoot id='YUmyT'></tfoot>

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

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