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

Re: Re: Date operations

by kidd (Curate)
on Aug 11, 2002 at 23:16 UTC ( #189353=note: print w/ replies, xml ) Need Help??


in reply to Re: Date operations
in thread Date operations

You should really think about using Date::Calc and/or Date::Manip. These might be overkill for this particular task but are lifesavers if you have to do anything else with dates.

The reason I liked the current way Im making the operations is that I dont have to get or install any modules...wich are a pain in the a** to configure in my hosting service...


Comment on Re: Re: Date operations
Re: Re: Re: Date operations
by grep (Monsignor) on Aug 11, 2002 at 23:36 UTC

    pain in the a** to configure in my hosting service...

    One (including myself) might argue that recreating any portion of Date::Calc or Date::Manip is a pain in the a$$, since it is already correctly done for you.

    I think you will agree with me the first time you forget one of the rules for leapyears or your client says he/she wants 30 days to not including weekends ;-)

    You most likely have seen this already but, if it helps tachyon has a tutorial on this.



    grep
    Just me, the boy and these two monks, no questions asked.
Re: Re: Re: Date operations
by fglock (Vicar) on Aug 12, 2002 at 20:20 UTC

    from the Perl CGI Programming FAQ:

    (if you don't) have access to install these modules with the other Perl library files, you can still use it by placing the module in a convenient place and adding the following to your script: BEGIN { unshift (@INC, "/your/dir/favorite/place"); }

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (17)
As of 2014-04-17 15:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (453 votes), past polls