[Classiccity-pm] Compiled perl modules

Linda Dubes Law lindadl at uga.edu
Tue Mar 21 11:52:50 PST 2006


I will go ahead and admit that I did not think of doing that.  We might run into some troubles with our reporting and leap times but nothing that can't be fixed.  I will probably confuse myself for reports that run on less than 24 hour schedules or skip weekends but that's what fun about being me.  

Leave it to Paul to understand the need to keep it simple.  Of course, that is what I thought Date::Calc would do for me but not if I can't get it there!

Thanks, 

Linda



-----Original Message-----
From: classiccity-pm-bounces+lindadl=uga.edu at pm.org [mailto:classiccity-pm-bounces+lindadl=uga.edu at pm.org] On Behalf Of Paul Keck
Sent: Tuesday, March 21, 2006 12:35 PM
To: All purpose mailing list for Athens, Ga Perl Mongers
Subject: Re: [Classiccity-pm] Compiled perl modules

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!!!
_______________________________________________
Classiccity-pm mailing list
Classiccity-pm at pm.org
http://mail.pm.org/mailman/listinfo/classiccity-pm



More information about the Classiccity-pm mailing list