会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
bugbeta的个人博客
经验因分享更有价值。
首页
新随笔
联系
订阅
管理
2019年9月16日
python获取每月第一天、上月第一天
摘要: #-*- coding: utf-8 -*- import time cur_year = time.localtime()[0] cur_month = time.localtime()[1] if cur_month < 10: cur_month = '0'+str(cur_month) else: cur_month = str(cur_month) cur_month_1st= "%s-
阅读全文
posted @ 2019-09-16 16:08 bugbeta
阅读(5568)
评论(0)
推荐(0)
编辑
公告