Programmatically retrieve Date formats from Excel cells

Hi Everyone, I had to fight against this issue, basically I had to retrieve a date from an Excel file and manipulate it as a DateTime. Easier said than done, the content of the cell was an unfriendly double, and I had no Idea on how to convert it. That’s the code that is doing the trick:

This is the article on Microsoft Knowledge base

Leave a Reply

Your email address will not be published. Required fields are marked *