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 vstinner
Recipients christian.heimes, mark, vstinner
Date 2008-11-11.02:58:03
SpamBayes Score 0.010773383
Marked as misclassified No
Message-id <1226372285.13.0.391863078725.issue2494@psf.upfronthosting.co.za>
In-reply-to
Content
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:
http://www.codeplex.com/IronPython/WorkItem/View.aspx?WorkItemId=7269
History
Date User Action Args
2008-11-11 02:58:05vstinnersetrecipients: + vstinner, christian.heimes, mark
2008-11-11 02:58:05vstinnersetmessageid: <1226372285.13.0.391863078725.issue2494@psf.upfronthosting.co.za>
2008-11-11 02:58:04vstinnerlinkissue2494 messages
2008-11-11 02:58:03vstinnercreate