Possible Duplicate:
Reading Datetime value From Excel sheet
I want to compare a date (e.g. 18/10/2012 00:00:00) with an Excel date. If I am using datetime.toshortdatestring() the value gets converted to string and comparing a string with an Excel date doesnot work. Can you please suggest me some other workaround to this problem.