[issue2736] datetime needs an "epoch" method

Antoine Pitrou report at bugs.python.org
Fri Dec 17 15:28:44 CET 2010


Antoine Pitrou <pitrou at free.fr> added the comment:

> Velko: on the other hand, given Victor's research, I don't see float
> seconds since an epoch appearing anywhere as a standard.

Well, given that we already have fromtimestamp(), this sounds like a
poor argument against a totimestamp() method (or whatever it gets
called).

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue2736>
_______________________________________


More information about the Python-bugs-list mailing list