[Zope] timeTime() function question.

hpinson@indepthl.com hpinson@indepthl.com
Wed, 20 Feb 2002 13:46:20 -0700


> > Can anyone explain the math behind the Python / Zope UTC  
> > timeTime() function?  I need to add two weeks to a timeTime 
> > generated date, for post processing.

Anthony Baxtor has the answer:

In addition, note that the original number is a unix timestamp -
seconds since 01/01/1970.
So to add two weeks to it, you'd do:


t + ( 2 * 7 * 24 * 60 * 60 )

Harlow Pinson
Indepth Learning
Email: hpinson@indepthl.com 
Web: http://www.indepthl.com
Voice: 505-994-2135
FAX: 208-475-7678