I have the value 40880.051388 and am storing it as a double, if I open Excel and paste in a cell and apply the following custom format \"m/d/yyyy h:mm\" to that
m/d/yyyy h:mm\"
Try something like this:-
double d = 40880.051388 ; DateTime dt = DateTime.FromOADate(d);