def _convert_windows_times(self, t):
try:
microsec = t / 10
sec, microsec = divmod(microsec, 1000000)
days, sec = divmod(sec, 86400)
dt = (
datetime.datetime(
1601,
1,
1) +
datetime.timedelta(
days,
sec,
microsec))
return calendar.timegm(dt.timetuple()), dt.isoformat() + 'Z'
except(Exception):
return 0, ''
评论列表
文章目录