Angry Onionheads Incoherent Rambling
My rambling about software development, architecture, and miscellaneous stuffs.

Converting Excel Date to .NET DateTime

May 31. 2006 0 Comments
  • Posted in:
  • Excel
  • interops
  • .Net Framework

Needed this for a project.  Couldn't figured out how to do it.

After googling for sometime, found out how to convert Excel Date cell to .NET DateTime...

DateTime.FromOADate(_Enter_Your_Excel_Date_Value_Here_)

Silly thing :)

Sign in Copyright © 2025 Jimmy Chandra