Convert UNIX timestamp to .NET DateTime ticks in unmanaged code (without using .NET)

Posted by Adal on Stack Overflow See other posts from Stack Overflow or by Adal
Published on 2010-05-03T21:59:36Z Indexed on 2010/05/03 22:18 UTC
Read the original article Hit count: 353

Filed under:
|
|
|

I need to "construct" .NET DateTime values in Python/C++.

How can I compute the number of ticks stored by DateTime starting from a UNIX timestamp?

A solution involving Win32 API calls it's ok (I believe FILETIME functions could help).

© Stack Overflow or respective owner

Related posts about .NET

Related posts about datetime