Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Generating basic time intervals between two times

by ryan (Pilgrim)
on May 21, 2001 at 08:41 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://81913]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (4)
As of 2024-04-25 13:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found