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

plot - Remove Objects from Legend When You Have Also Used Fit, Matlab -

java - Why does my date parsing return a weird date? -

Need help in packaging app using TideSDK on Windows -