Index: Doc/library/datetime.rst =================================================================== --- Doc/library/datetime.rst (revision 62989) +++ Doc/library/datetime.rst (working copy) @@ -925,6 +925,12 @@ boundary. +.. method:: datetime.totimestamp() + + Return timestamp of the datetime as seconds and milliseconds since the epoch. + The same as ``time.mktime(self.timetuple()) + (self.microsecond / 1000000.0)``. + + .. method:: datetime.toordinal() Return the proleptic Gregorian ordinal of the date. The same as