In Python 3.5, when I convert POSIX origin 1970-01-01
to timestamp (in seconds) instead of 0
I get the following result:
import datetime as dt
t = dt.datetime(1970,1,1)
t.timestamp()
-10800.0
Expected 0
is produced by:
t = dt.datetime(1970,1,1,3)
t.timestamp()
0.0
Both results are quite unexpected to me. What could be a reason for such a behaviour?