Reading DateTime column from excel into C# app

Mar 31 2004 5:09 PM
I'm trying to read data from .xls files into C# application. One of the columns has date time data like "3/31/2004 9:57:35 AM". I 'm accessing the excel data as System.Array myvalues = (System.Array)range.Cells.Value; Now myvalues has the excel data excep the DateTime appears as System.Double. what am I doing wrong. Please help. tia shashank

Answers (2)