On Jul 28, 2004, at 8:58 PM, Ranga Nathan wrote:
Is there a quick way to convert a time stamp (date & time) as seconds since 1900-01-01 00:00:00? time() uses 1970 as base (epoch).
time() + (24*60*60)*((365*70)+int(70/4))
24*60*60 is the number of seconds in a day
365*70 is the number of days in 70 ordinary (non-leap) years
int(70/4) is the number of leap days to add. (note that 1900 is not a leap year)
_______________________________________________ Boston-pm mailing list [EMAIL PROTECTED] http://mail.pm.org/mailman/listinfo/boston-pm