Subscribe Bookmark RSS Feed

MSN DateTime to JMP DateTime

vinceheesen

Community Trekker

Joined:

Oct 24, 2012

I have a binary file which contains a number of fields including a Microsoft 64bit DateTime.  Evidently the DateTime has a first two bits signifying the "Kind" and the remaining 62 bits signifying the "Ticks".

I'm reading this with the code: Blob To Matrix( Blob Peek( string, start_position, 8 ), "uint", 8, "native" ).

What is returned is a very long number that I do not know how to interpret.  Is there a way to convert this result to a JMP DateTime?

Thanks,

VInce