Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Generating basic time intervals between two times

by ryan (Pilgrim)
on May 21, 2001 at 08:41 UTC ( #81913=note: print w/ replies, xml ) Need Help??


in reply to Generating basic time intervals between two times

Thanks for your ideas. I noticed later on a flaw in my code, i left out an extra check, making it one if statement longer.

I know it is a common comment on here to use what already exists, which in my case is the Date and Time libs. They certainly make my problem easier :) They just proved very slow comparatively for this particular problem when it is scaled higher. I think for the sake of avoiding omitting more logical flaws the Libs may be more the go however.

Working out epoch seconds manually without the Libs seems to avoid some of the processing overhead, thanks jorg.

It's 174 of one and 14 1/2 dozen of the other really.


Comment on Re: Generating basic time intervals between two times

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://81913]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (8)
As of 2014-07-11 00:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (217 votes), past polls