我可以通过java.util.Date(milliseconds)在Java中创建类似的日期对象。如何在Python中创建comparable?
Allocates a Date object and initializes it to represent the specified number of milliseconds since the standard base time known as "the epoch", namely January 1, 1970, 00:00:00 GMT.
Tags:
把它转换成时间戳
有点重,因为使用熊猫,但工作:
这个怎么样?我想它可以用来处理1970年之前和2038年之后的日期。
如Python标准库中所述:
相关问题 更多 >
编程相关推荐