I have got a value of timestamp represented by number of ticks. Obtaining from it date/time under c# is easy by creating a new System.DateTime object and passing the timestamp value into the constructor, or so I am told (it was created in c#). The thing is I can only use C/C++. Even converting ticks into seconds is somewhat confusing. According to cplusplus.com simple multiplication by the macro CLOCKS_PER_SEC - Clock ticks per second, should suffice. This results in multiplication by 1000. According to Microsoft website, however, the conversion factor to seconds should be 1e7. Sample value to be converted is 634400640022968750, suggesting the second version is closer to reality.
I will not spend time describing my failed attempts, because they got me nowhere. Any help will be deeply appreciated.