谁能帮忙破解这个时间格式吗?
我有以下时间样本。时间以 32 位表示形式存储,我将用十六进制表示它以及相应的时间戳。
e2 51 14 68 = 2011-03-23 11:56:33.684237 (UTC-4)
e2 51 19 6f = 2011-03-23 11:56:33.812511 (UTC-4)
e2 51 a0 42 = 2011-03-23 11:56:37.542177 (UTC-4)
e7 25 49 4f = 2011-03-23 14:11:35.261131 (UTC-4)
e7 2e 71 0a = 2011-03-23 14:12:35.257552 (UTC-4)
任何将这些二进制值与确定格式的时间相关联的帮助将不胜感激。请注意,二进制值和时间戳的时钟源不同,因此可能存在较小的偏移或轻微的变化。
I have the following time samples. The time is stored in a 32-bit representation which I will depict in HEX along with the corresponding timestamp.
e2 51 14 68 = 2011-03-23 11:56:33.684237 (UTC-4)
e2 51 19 6f = 2011-03-23 11:56:33.812511 (UTC-4)
e2 51 a0 42 = 2011-03-23 11:56:37.542177 (UTC-4)
e7 25 49 4f = 2011-03-23 14:11:35.261131 (UTC-4)
e7 2e 71 0a = 2011-03-23 14:12:35.257552 (UTC-4)
Any help in correlating these binary values with the time to determine format would be greatly appreciated. Please note that the clock source is different for the binary value and the timestamp, so there could be a small offset or slight variation.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
使用差异:
因此它只是作为无符号整数存储的一定数量的十分之几毫秒。
2011-03-23 11:56:33.684237
约为 3796964456 十分之一毫秒,即 379696.4456 秒或约 4.395 天。所以原点(时间 0)是2011-03-19 02:28:17
。总而言之:自
2011-03-19 02:28:17
以来的十分之一毫秒数。总而言之,它不会持续很长时间……它似乎是一个短期计数器,不会过多地跟踪几年或几个月。其总范围约为 5 天。
Using the differences:
so it's just a certain number of tenths of milliseconds stored as an unsigned integer.
2011-03-23 11:56:33.684237
is around 3796964456 tenths of a millisecond, which is 379696.4456 seconds or ~4.395 days. So the origin (time 0) is2011-03-19 02:28:17
.So in summary: The number of tenths of milliseconds since about
2011-03-19 02:28:17
.All in all it won't last long.. it seems like a short-term counter which doesn't keep track of years or months so much. Its total range is ~5 days.
我用E72E 710A减去E251 1468,转换成十进制,得到81,616,034。
我从 14:12:35.257552 中减去 11:56:33.684237,转换为秒,得到 8161.573315。
我猜格式是十分之一毫秒计数器。
E251 1468换算成十进制是3,796,964,456。转换为时间单位,我得到 105 小时 28 分钟 16.4456 秒。
我无法判断计数的起点是什么,除非有轻微的变化。
I subtracted E251 1468 from E72E 710A, converted it to decimal, and got 81,616,034.
I subtracted 11:56:33.684237 from 14:12:35.257552, converting to seconds, and got 8161.573315.
I'm guessing that the format is a tenth of a millisecond counter.
E251 1468 converted to decimal is 3,796,964,456. Converting to time units, I get 105 hours, 28 minutes, and 16.4456 seconds.
I can't tell what the starting point of the count is, unless there's more than a slight variation.