消息 [55042]
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). |
|
| 日期 |
用户 |
动作 |
参数 |
| 2007-08-23 16:12:38 | admin | 链接 | issue1673409 messages |
| 2007-08-23 16:12:38 | admin | 创建 | |
|