时间字符串转时间戳

一、时间字符串转毫秒时间戳 import datetime import calendar timestr = '2022-06-22T01:07:26.943Z' timestr = timestr.replace('T',' ').replace('Z','') print(timestr) #

posted on 2022-06-29 13:45  torotoise512  阅读(943)  评论(0编辑  收藏  举报