import time


struct_time = time.strptime('Sun Feb 16 11:56:25 +0800 2020', '%a %b %d %H:%M:%S %z %Y')
times = time.strftime('%Y-%m-%d %H:%M:%S', struct_time)
print(times) # 2020-02-16 11:56:25

相关文章:

  • 2021-08-21
  • 2022-12-23
  • 2021-12-20
  • 2022-12-23
  • 2022-03-09
  • 2022-01-16
  • 2022-01-06
猜你喜欢
  • 2021-06-15
  • 2022-01-20
  • 2022-12-23
  • 2021-12-26
  • 2022-12-23
  • 2022-01-20
  • 2022-01-25
相关资源
相似解决方案