I am reading data from a excel sheet like this -
day1 = first_sheet.cell(row,26).value
I want to use this date for some other operations later but the data is coming in a float format which i find very confusing and unsuitable for debugging.
I tried using this --->>
day = datetime.datetime(*xlrd.xldate_as_tuple(day1, 0))
But i got this error --->>
AttributeError: type object 'datetime.datetime' has no attribute 'datetime'
I am using python 2.7 Kindly help me out.