# python 当前时间格式化列表

1 min read

print(time.strftime(“%Y-%m-%d-%H*%M*%S”))
输出格式为:2018-07-27-18_59_06


Comments