This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author jribbens
Recipients
Date 2007-03-04.11:59:05
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
The datetime module is missing some important methods for interacting with timestamps (i.e. seconds since 1970-01-01T00:00:00).

There are methods to convert from a timestamp, i.e. date.fromtimestamp and datetime.fromtimestamp, but there are no methods to convert back.

In addition, timedelta has no method for returning the number of seconds it represents (i.e. days*86400+seconds+microseconds/1000000).
History
Date User Action Args
2007-08-23 16:12:38adminlinkissue1673409 messages
2007-08-23 16:12:38admincreate