[ python-Feature Requests-1673409 ] datetime module missing some important methods
SourceForge.net
noreply at sourceforge.net
Thu Mar 22 23:05:46 CET 2007
Feature Requests item #1673409, was opened at 2007-03-04 11:59
Message generated for change (Comment added) made by guettli
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=355470&aid=1673409&group_id=5470
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Python Library
Group: Python 2.6
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Jon Ribbens (jribbens)
Assigned to: Tim Peters (tim_one)
Summary: datetime module missing some important methods
Initial Comment:
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).
----------------------------------------------------------------------
Comment By: Thomas Guettler (guettli)
Date: 2007-03-22 22:05
Message:
Logged In: YES
user_id=22123
Originator: NO
Yes, that's true.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=355470&aid=1673409&group_id=5470
More information about the Python-bugs-list
mailing list