Home > Back-end >  Byte [] buf={0 x91 (byte), (byte) 0 x50 this data is how time?
Byte [] buf={0 x91 (byte), (byte) 0 x50 this data is how time?

Time:01-19

Pointer pointer1=null;
Byte [] buf={0 x91 (byte), (byte) 0 x50, xc4 (byte) 0, 0 x5f (byte), (byte) 0 x15, x97 (byte) 0, 0 x09 (byte), 0 x00 (byte)};
Pointer1. Write (0, buf, 0, 8).

A great god project source code to use it as the written comments said buf is a fixed die time, but I can't convert the time, no matter how to transform for Daniel advice

CodePudding user response:

You carry the 8 bytes into a long look at how much is the value?

CodePudding user response:

Buf looked like type double 8 bytes, in Delphi, TDateTime=double, if stored in a double value is very small, buf values are incorrect?
8 bytes of buf if bigint, value is 2699392847204497, have not seen with such a large integer value represents the time (Unix timestamp 10 or 13),
  • Related