SyntaxFix
Write A Post
Hire A Developer
Questions
You need to convert the date format from OLE Automation to the .net format by using DateTime.FromOADate.
double d = double.Parse(b); DateTime conv = DateTime.FromOADate(d);