简单对上述代码测试,输出结果如下:
2015/09/21是第39周周12015/09/21过100周后日期为:2017-08-212015/09/21过100天后日期为:2015-12-30dayNum: 20, secNum: 54000, total_seconds: 1782000.now_time: 20190801nowTime: 20190801now_time: 2019:08:01nowTime: 2019:08:01now_time: 2019-08-01nowTime: 2019-08-01now_time: 20190801151336nowTime: 20190801151336now_time: 2019-08-01 15:13:36nowTime: 2019-08-01 15:13:36now_time: 2019/08/01/15:13:36nowTime: 2019/08/01/15:13:36next_timestamp: 2018-12-19 10:59:20next_timestamp: 2018-12-19 10:50:00next_timestamp: 2018-12-19 03:00:00next_timestamp: 2018-12-14 11:00:00next_timestamp: 2018-12-05 11:00:00next_timestamp: 2018-09-17 11:00:00next_timestamp: 2008-10-12 11:00:00next_timestamp: 2018-12-19 11:00:40next_timestamp: 2018-12-19 11:10:00next_timestamp: 2018-12-19 19:00:00next_timestamp: 2018-12-24 11:00:00next_timestamp: 2019-01-02 11:00:00next_timestamp: 2019-03-22 11:00:00next_timestamp: 2029-02-24 11:00:00个人的经验累积,需要的可以拿去使用哈,欢迎交流学习!
推荐阅读
- 如何用Python爬取移动端数据
- 初学 Python 需要安装哪些软件?
- 利用Python网络爬虫抓取微信好友数量以及微信好友的男女比例
- 铃铛杯喝茶 唤醒你心中的小确幸
- 如何用Python网络爬虫爬取网易云音乐歌曲
- python 实现网站微信登录
- Android中的线程捕获
- 地下城与勇士|和上司关系密切,就成了上司的自己人了?小心犯了职场中的大忌
- 茶事活动与禅宗仪礼
- 普照禅茶屏南藏在深山中的禅意
