python 时间格式返回值 发表于 2023-05-27 更新于 2025-06-09 分类于 Python , 基础 python 时间格式返回值: print(str(time.strftime("%Y-%m-%d %H:%M:%S", time.localtime())))