I'm reading an Excel spreadsheet (xlsx) using OpenXmlDocument, I have some Date cells formated as DD/MM/YYYY, But when try to read it all i have back is a float like this 42457.670138888891 I was looking into cell.DataType but it is always null.
I have two questions refered to this:
1- How do I know that current cell is Date / DateTime formatted or How to know is Date type ?
2- How to convert 42457.670138888891 to c# DateTime?