crac

导航

2020年7月31日 #

python常用

摘要: 获取当前时间 def getNowTime(): currenttime=datetime.datetime.now() res=currenttime.strftime("%Y_%m_%d") return res 时间戳转换: def datetime_timestamp(dt): dt=dt. 阅读全文

posted @ 2020-07-31 16:17 crac 阅读(135) 评论(0) 推荐(0) 编辑