Binary to Date (C#) 64 Bit Format
- by Veskechky
We have a binary file from which we have identified the following dates (as Int64). We now the following facts about the Date/Time format;
The 64 bit Date has a resolution to the microsecond
The 64 bit Date has a range of 4095 years
The Int64 9053167636875050944 (0x7DA34FFFFFFFFFC0) = 9th March 2010
The Int64 9053176432968073152 (0x7DA357FFFFFFFFC0) = 10th March 2010
The Int64 9053185229061095360 (0x7DA35FFFFFFFFFC0) = 11th March 2010
The Int64 9053194025154117568 (0x7DA367FFFFFFFFC0) = 12th March 2010
Any help on figuring out a way to convert this to a valid C# Date/Time is appreciated.