Deciphering hex coded timestamp from a fingerprint machine (zkemkeeper/ZEM560)
问题 I've been working on some raw data obtained from a fingerprint machine(zkemkeeper/ZEM560). I found out that there is a sets of data written in hex and I believe it is a 4 bytes, little endian number of seconds from a certain date. Here some examples of the raw data, actual result and expected date(got from GUI). My purpose is to get the expected date from the raw data. What I have tried was, import datetime sample_expected_date = datetime.datetime(2019, 11, 29, 20, 45, 22).timestamp() sample