Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
355
row.GetCellValue and Date value in excel column
posted

Hi, when I use

row.GetCellValue(column.Index).ToString()

I get number value but in excel column I have date value :(.

In excel file the cell format is date and I see value in date format (dd.mm.yyyy).

In my case in the excel sheet I have value 21.2.2002 (dd.mm.yyyy) and row.GetCellValue(column.Index).ToString() returns value 37308.

Could you advise how to get correct date value?

Thank you
Libor