Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses

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?

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (1)
As of 2022-01-17 05:19 GMT
Find Nodes?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:

    Results (51 votes). Check out past polls.