dvplayltd
asked on
How to get date from OAdate?
Hi experts!
Im using C# 2008. I have 1 date in format OLE automation (double). I need to transfer it back to normal date.
Look code:
single dtDOuble = Convert.ToSingle(dt.ToOADa te()) -2;
Now I need code for
DateTime dtNormal= ConvertOADateToNormal( dtDouble)
other. Can I use double instead of single ? For more precize
What to use in place of function ConvertOADateToNormal ?
Thanks
Im using C# 2008. I have 1 date in format OLE automation (double). I need to transfer it back to normal date.
Look code:
single dtDOuble = Convert.ToSingle(dt.ToOADa
Now I need code for
DateTime dtNormal= ConvertOADateToNormal( dtDouble)
other. Can I use double instead of single ? For more precize
What to use in place of function ConvertOADateToNormal ?
Thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.