Message75722
If you doesn't care to the time zone (UTC), use:
>>> datetime.datetime(1970, 1, 1) + datetime.timedelta(seconds=-86400)
datetime.datetime(1969, 12, 31, 0, 0)
This code is portable on Windows, Linux but also works with
IronPython:
Python/WorkItem/View.aspx?WorkItemId=7269">http://www.codeplex.com/IronPython/WorkItem/View.aspx?WorkItemId=7269 |
|
| Date |
User |
Action |
Args |
| 2008-11-11 02:58:05 | haypo | set | recipients:
+ haypo, christian.heimes, mark |
| 2008-11-11 02:58:05 | haypo | set | messageid: <1226372285.13.0.391863078725.issue2494@psf.upfronthosting.co.za> |
| 2008-11-11 02:58:04 | haypo | link | issue2494 messages |
| 2008-11-11 02:58:03 | haypo | create | |
|