📜  python把秒变成zulu时间 - Python代码示例

📅  最后修改于: 2022-03-11 14:45:32.800000             🧑  作者: Mango

代码示例1
ts_epoch = 1362301382
ts = datetime.datetime.fromtimestamp(ts_epoch).strftime('%Y-%m-%d %H:%M:%S')
print(ts)