There are four bytes representing the current Coordinated Universal Time (UTC) in the Unix epoch format, which is the number of seconds since January 1, 1970.
前面的四个字节是当前的协调世界时(CoordinatedUniversalTime,UTC),它的格式是Unix时间戳,也就是从1970年1月1日起到此刻所经历的秒数。
If you're wondering how I converted the seconds from epoch to something a little more readable, I wrote a Perl script. Here's the gist of that script.
您可能想知道如何把系统纪元以来的秒数转换为可读性更好的表示法,为此我编写了一个perl脚本。
We might like it to be returned as an integer representing seconds since the Epoch, but in fact we are given a string formatted according to ISO 8601.
我们希望它返回一个整数,以表示从公元纪年到现在的秒数,但实际上得到的是按照ISO 8601格式化的字符串。
We might like it to be returned as an integer representing seconds since the Epoch, but in fact we are given a string formatted according to ISO 8601.
我们希望它返回一个整数,以表示从公元纪年到现在的秒数,但实际上得到的是按照ISO 8601格式化的字符串。
应用推荐