Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个扩展名为 .log 的文件。他们使用此代码将日期转换为字节并将其写入文件。
System.Buffer.BlockCopy(BitConverter.GetBytes(this.EventDate), 0, data, 0, 8);
我需要使用 PHP 从字节中检索日期。