[New-bugs-announce] [issue14908] datetime.datetime should have a timestamp() method

Dirkjan Ochtman report at bugs.python.org
Fri May 25 10:53:20 CEST 2012


New submission from Dirkjan Ochtman <dirkjan at ochtman.nl>:

There's datetime.fromtimestamp() and datetime.timetuple(), but no datetime.timestamp(). It should be possible to round-trip a UNIX timestamp through a datetime.datetime.

----------
messages: 161558
nosy: djc
priority: normal
severity: normal
status: open
title: datetime.datetime should have a timestamp() method
versions: Python 2.7, Python 3.2

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


More information about the New-bugs-announce mailing list