I have an Excel Workbook I am trying to read using DocumentFormat.OpenXml.Spreadsheet;
using DocumentFormat.OpenXml.Packaging;
but I'm unsure on how to know when the value is a date. Shared strings and numbers are fine but the type associated with the cell (Cell.DataType
) is always a shared string.
I've had a look at alternative offerings but they all seem to cover strings and numbers but not dates.
Any ideas.?