Next Calibration Date Parasing

From Wiki Knowledge Base | Teltonika GPS
Revision as of 13:27, 9 September 2022 by Deividas.santaras (talk | contribs) (→‎Next calibration date parsing)

(diff) ← Older revision | Approved revision (diff) | Latest revision (diff) | Newer revision → (diff)

Next calibration date parsing

The value is received as 4 byte hexadecimal value. Example how to parse it to a human readable date is provided in the table below:

Step Next Calibration Date (AVL ID:10503) Format
1. Received value 66-64-F0-80 HEX
2. Converted to DEC 1717891200 DEC
3. Converted to Human readable date Sunday, June 9, 2024 12:00:00 AM, GMT+00:00 Human readable date

Converting whole 4 byte Hexadecimal - 66-64-F0-80 value to decimal value as it is equivalent of Unix timestamp in seconds - 1717891200. Convert epoch to human-readable date: https://www.epochconverter.com/