将TAI64(N)字符串转换为DateTime.DateTime(UTC)对象。
tai64n的Python项目详细描述
将十六进制编码的TAI64N字符串转换为DateTime.DateTime对象和 在TAI和UTC标准时间之间转换。
TAI,TAI64,TAI64N
TAI stands for Temps Atomique International, the current international real-time standard. One TAI second is defined as the duration of 9192631770 periods of the radiation corresponding to the transition between the two hyperfine levels of the ground state of the cesium atom.
模块功能
- decode_tai64n("400000004a3239350292c294")
- 将16或24字节长的十六进制TAI64(n)字符串转换为datetime.datetime UTC对象
- utc2tai(datetime.datetime.now())
- 将datetime.datetime UTC对象转换为datetime.datetime TAI对象