Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
自 unix 时代以来,我在 Python 中有一段以秒为单位的时间。然而,Matplotlib 需要自 0001-01-01 UTC ( http://matplotlib.org/api/dates_api.html ) 以来的天数。
如何将自 unix 纪元以来的秒数转换为自 0001-01-01 UTC 以来的天数?
对文档进行更透彻的阅读显示 matplotlib.dates.epoch2num