📜  时间戳更改python代码示例

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

代码示例1
import time
timestamp = 1547281745
datetime = time.strftime('%A, %Y-%m-%d %H:%M:%S', time.localtime(timestamp))
print(datetime)