Converting Excel Date to .NET DateTime

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 :)

 

Share this post: | | | |
Published Wednesday, May 31, 2006 2:46 AM by Jimmy Chandra
Filed under: , ,

Comments

No Comments

Leave a Comment

(required) 
(required) 
(optional)
(required) 

Enter the numbers above: