<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

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

            <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的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  Converting string to MySQL timestamp format in php(在php中将字符串转换为MySQL时间戳格式)
                  datetime to timestamp(日期时间到时间戳)
                  PHP timestamp date to user timezone(PHP时间戳日期到用户时区)
                  Converting TIMESTAMP to unix time in PHP?(在 PHP 中将 TIMESTAMP 转换为 unix 时间?)
                  Convert ISO 8601 to unixtimestamp(将 ISO 8601 转换为 unixtimestamp)
                  Finding days between 2 unix timestamps in php(在php中查找2个unix时间戳之间的天数)

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

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

                      • <bdo id='YUmyT'></bdo><ul id='YUmyT'></ul>
                          <tbody id='YUmyT'></tbody>
                      • <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>