📜  从 json 时间戳到日期 python - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:01:21.430000             🧑  作者: Mango

代码示例1
for location in locations:
    print(datetime.datetime.fromtimestamp(
        int(location.get("timestampMs"))/1000
    ).strftime("%Y-%m-%dT%H:%M:%SZ"))