Date compression -
i got problem in project uncompress date. (no documentation available)
i have convert date, shown 6 bytes:
0xfd 0x77 0x59 0x51 0x10 0x00
did know, how uncompress ? date today, ~ 10:30 gmt
programm language doesn´t matters.
(it question of understanding. not question programming)
christian
added again examples
11:09 -->
0x fd 77 59 fd 10 00
11:09 -->
0x fd 77 79 05 28 00
11:05 -->
0x fd 77 59 fd 28 00
the solution was, convert data byte array not via java hex. in several cases (byte > 127) result ..fd hex value. if convert otherwise, log result i.e.:
0x dd7719b33a00 dd7 -> 7dd -> 2013 7 -> 7 -> month 19 -> 25 (dec.) --> day b -> 11 -> hour 33 -> 51 -> min. -> 10 -> seconds 0 -> 0 -> ms
Comments
Post a Comment