[Classiccity-pm] Compiled perl modules
Paul Keck
pkeck at uga.edu
Tue Mar 21 09:35:24 PST 2006
On Tue, Mar 21, 2006 at 10:14:24AM -0500, Linda Dubes Law wrote:
> > My goal is to be able to add and subtract dates.
You've no doubt already dismissed this, but just in case-
Depending how accurate you have to be, as long as your dates are all 1970 or
later you could convert the date to a UNIX epoch number, add or subtract
86,400 seconds for each day, and convert back. I think you'd run afoul of
leap seconds and maybe even leap years, but maybe for your purpose you don't
care? Just a thought.
--
Paul Keck pkeck at uga.edu http://www.arches.uga.edu/~pkeck
University of Georgia http://www.uga.edu/ucns/telecom
EITS Network Engineering mailto:pkeck at ediacara.org
--Opinions mine.-- Go fighting anomalocaridids!!!
More information about the Classiccity-pm
mailing list