datetime - Convert seconds since epoch to days since 0001-01-01 UTC in Python -


i have time in python that's represented seconds since unix epoch. matplotlib wants days since 0001-01-01 utc (http://matplotlib.org/api/dates_api.html).

how can convert seconds since unix epoch days since 0001-01-01 utc?

a little more thorough reading of documentation shows matplotlib.dates.epoch2num


Comments

Popular posts from this blog

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -