import arrow
excel_time = 0.4066087962963
excel_epoch = arrow.get('1899-12-30')
# 将 Excel 时间值转换为日期时间格式
py_date = excel_epoch.shift(days=excel_time).format('HH:mm:ss')
print(py_date) # 输出转换后的日期时间
# 09:45:31
09-10
6853
11-22
5421
“相关推荐”对你有帮助么?
-
非常没帮助
-
没帮助
-
一般
-
有帮助
-
非常有帮助
提交