Skip to content
  • 首页
  • PHP源码
  • html5网页模板
  • js特效
  • Window软件
  • Mac软件
  • 服务器
  • 其他
Search
源码巴士
  • Sample Page

python获取当前时间戳和日期

import time,datetime
#时间戳
print(time.time())
#今天的日期
print(datetime.date.today())

转载来源:https://blog.csdn.net/weixin_38570967/article/details/81335809

文章导航
←使用jasypt加密配置文件敏感信息
Jenkins 配置一个构建任务中的“构建”步奏,失败后不执行下一步→

Copyright © 2022 源码巴士  鲁ICP备19024253号-1