谁能把这个时间格式给解出来?!
现在有四个字节,按顺序分别是22、68、c8、3a(16进制),其中第1、2字节是结构Time,第3、4字节是Date字节,Time和Date字节的说明如下:
struct {
USHORT Day : 5;
USHORT Month : 4;
USHORT Year : 7;
} DATE;
struct {
USHORT TwoSeconds : 5;
USHORT Minutes : 6;
USHORT Hours : 5;
} TIME;
The Year field has a range of 0-119, which represents years 1980 - 2099. The Month is encoded as 1-12, and the day ranges from 1-31.
Hours ranges from 0-23, Minutes range from 0-59, and TwoSeconds ranges from 0-29 representing two second increments within the minute.
上面四个字节正确日期应该是2001-08-02 11:53:06,但是我解不出这个正确答案,谁能做到?