As per protocol document
Date Time
Length is :6
Year(1byte)Month(1byte)Day(1byte)Hour(1byte)Min(1byte)Second(1byte)
(converted to decimal)(Date Time)
That means each hex byte is converted directly to decimal (not BCD). Converting gives:
0x19 → 25 → year = 2000 + 25 = 2025
0x08 → 8 → month = 08
0x16 → 22 → day = 22
0x06 → 6 → hour = 06
0x10 → 16 → minute = 16
0x37 → 55 → second = 55
Fix time: 2025-08-22 06:16:55
that was a silly question on my part. thanks for clearing it up
hi
i want to understand why this packet:
results in these date and time values:
checked a gt06 protocol document. according to that,
190816061037
is date part and decodes to2019-08-16T06:10:37
. so why it differ ? am i wrong ?i use traccar version 5 and
time.override
is not applied.