I am new to python and looking for some help.
I am trying to read values from an excel file and return some values as a tuple from the function. I am able to return all values except the date.
I am getting the error :
invalid literal for int() with base 10: '10/12/2017 21:05'
This is the relevant part of the code:
sdndate = data[i][j]
sdndate = xlrd.xldate_as_datetime(sdndate, 0)
outputTuple = (var1, var2, sdndate)
I understand that there some problem with variable type for date, but I am not able to fix it.
Thanks.