I have some files written using VC++ 6, they use ctime. I need to convert the data to a datetime object in C#. ctime starts from 1 Jan 1970 while datetime in C# apparently starts from 1 Jan 1601.
As a example - the old code stores the date - 15 Sep 2003 as 1063664140 (this includes the time also) - the equivalent value for DateTime is 127081125400000000. I cannot find any appropriate convert function.
Any help will be appreciated
As a example - the old code stores the date - 15 Sep 2003 as 1063664140 (this includes the time also) - the equivalent value for DateTime is 127081125400000000. I cannot find any appropriate convert function.
Any help will be appreciated