博客
关于我
日期+天数,求日期
阅读量:583 次
发布时间:2019-03-10

本文共 256 字,大约阅读时间需要 1 分钟。

计算贝塔炸弹的爆炸日期:

  • 从2014年11月9日开始,向前计算1000天。
  • 2014年剩余的时间:11月9日到11月30日,共21天。
  • 2015年:365天。
  • 剩下天数:1000 - 21 - 365 = 614天。
  • 2016年:366天(闰年)。
  • 剩下天数:614 - 366 = 248天。
  • 2017年:1月31日,2月28天,3月31天,4月30天,5月31天,6月30天,7月31天,8月31天。累计到8月末为243天。
  • 剩下的5天在9月,故爆炸日期为2017年9月5日。
  • 最终答案:2017-09-05

    转载地址:http://wzbvz.baihongyu.com/

    你可能感兴趣的文章
    Nginx 我们必须知道的那些事
    查看>>
    Nginx 的 proxy_pass 使用简介
    查看>>
    Nginx 的配置文件中的 keepalive 介绍
    查看>>
    Nginx 结合 consul 实现动态负载均衡
    查看>>
    Nginx 负载均衡与权重配置解析
    查看>>
    Nginx 负载均衡详解
    查看>>
    nginx 配置 单页面应用的解决方案
    查看>>
    nginx 配置https(一)—— 自签名证书
    查看>>
    nginx 配置~~~本身就是一个静态资源的服务器
    查看>>
    Nginx 配置清单(一篇够用)
    查看>>
    Nginx 配置解析:从基础到高级应用指南
    查看>>
    nginx+php的搭建
    查看>>
    nginx+tomcat+memcached
    查看>>
    nginx+Tomcat性能监控
    查看>>
    nginx+uwsgi+django
    查看>>
    Nginx-http-flv-module流媒体服务器搭建+模拟推流+flv.js在前端html和Vue中播放HTTP-FLV视频流
    查看>>
    nginx-vts + prometheus 监控nginx
    查看>>
    Nginx下配置codeigniter框架方法
    查看>>
    Nginx之二:nginx.conf简单配置(参数详解)
    查看>>
    Nginx代理websocket配置(解决websocket异常断开连接tcp连接不断问题)
    查看>>