|
I'd like to allow a user to enter a drift rate in seconds per day into
a program along with the date and time, a base, to begin calculation of
subsequent recorded date and times. datetime seems to only allow
hours, minutes and seconds in its formats. For example, 2.74 might be
entered. Using 2.74 for a time that's 24 hours from the base would
cause me to record the increase as 2 seconds. How can I account for
fractional increases? I see that the tuple allows for microseconds, but
I'm not sure arithmetic or formatting is allowed on it. --
Wayne Watson (Watson Adventures, Prop., Nevada City, CA)
(121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time)
Obz Site: 39° 15' 7" N, 121° 2' 32" W, 2700 feet
"If voting made any difference they wouldn't let us do it."
-- Mark Twain
Web Page: <www.speckledwithstars.net/>
|
_______________________________________________ Tutor maillist - [email protected] http://mail.python.org/mailman/listinfo/tutor
