incrementing a time tuple by one day

Cameron Laird claird at lairds.us
Thu Sep 23 22:08:05 CEST 2004


In article <donn-B27766.12063123092004 at gnus01.u.washington.edu>,
Donn Cave  <donn at u.washington.edu> wrote:
>In article <QcudnRWf360rm87cRVn-vg at powergate.ca>,
> Peter Hansen <peter at engcorp.com> wrote:
>> David Stockwell wrote:
			.
			.
			.
>Well, who knows, maybe datetime is the answer for him,
>but if not, I would just use 24*60*60 instead of trying
>to get one day in seconds out of mktime().  (I think if
>you look at the date closer, it isn't decremented all!)
>
>   Donn Cave, donn at u.washington.edu

While I quickly lost track of who said what, I've been around
long enough to know that some people are touchy about there
NOT being 24 * 60 * 60 seconds in a day near "daylight-savings"
switches.  I have no idea whether that's the case for Mr.
Stockwell.



More information about the Python-list mailing list