Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Comparing two dates and getting back difference in days

by BrowserUk (Patriarch)
on Jan 21, 2004 at 18:23 UTC ( [id://322962]=note: print w/replies, xml ) Need Help??


in reply to Comparing two dates and getting back difference in days

As you say, Date::Manip is big, slow, and horrible documentation--but boy is it ever flexible.

Should you consider using it, you may find this Re: Elapsed date and time helpful.


Examine what is said, not who speaks.
"Efficiency is intelligent laziness." -David Dunham
"Think for yourself!" - Abigail
Timing (and a little luck) are everything!

  • Comment on Re: Comparing two dates and getting back difference in days

Replies are listed 'Best First'.
Re: Re: Comparing two dates and getting back difference in days
by Paulster2 (Priest) on Jan 21, 2004 at 19:44 UTC

    If you look at the rest of the nodes that I have written you will discover that I am a big Date::Manip fan.

    That been said, I think that "slow" is a relative term. Yes it is big, but when ever I have implimented it into my scripts, I have found very little, if any, time lag. If you are trying to scrape every last clock cycle out of a huge script, you probably don't want to use it. But if a milli-second or so doesn't matter to you, the flexibility of Date::Manip makes it more than worth it. I can honestly say that I haven't used any of the other Date conversion modules, mainly because Date::Manip has everything that I need. I guess once you get to know a module, you kind of get stuck on it. Mind you that I am not knocking any of the other modules, I just think that for what you get out of it, Date::Manip is where it's at.

    Paulster2

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (3)
As of 2024-04-26 08:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found