table.cell(2,2).value #获取到没有转化的数据
41828.0
* 需要进行时间类型的转换,把excel中时间转成python 时间(两种方式)
xlrd.xldate_as_tuple(table.cell(2,2).value, 0) #转化为元组形式
(2014, 7, 8, 0, 0, 0)
datetime.datetime(2018, 7, 9, 0, 0)
文章出处:https://blog.csdn.net/orangleliu/article/details/38476881