Click here to Skip to main content
15,887,585 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Any ideas on how to convert date (mmddyyyy) to 1904 format in c#.Googled it was not able to find any infos.
Posted

1 solution

 
Share this answer
 
Comments
bsb25 29-Mar-12 2:31am    
I need the other way round.MMDDYYYY Date to OA Date... ??
JF2015 29-Mar-12 2:33am    
Then you can use the ToOADate function:
http://msdn.microsoft.com/en-US/library/system.datetime.tooadate%28v=vs.80%29.aspx

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900