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

Re: date manipulation

by Abigail-II (Bishop)
on Feb 04, 2004 at 22:34 UTC ( #326626=note: print w/ replies, xml ) Need Help??


in reply to date manipulation

use Date::Calc;
for 98% of the cases.
use Date::Manip;
for the rest.

Abigail


Comment on Re: date manipulation
Select or Download Code
Re: Re: date manipulation
by Trimbach (Curate) on Feb 05, 2004 at 04:06 UTC
    Yeah. What Abigail said. Doing simple math on dates works ok most of the time... until the day comes when "the next day at this time" isn't 24 hours away (think daylight savings time.) That sort of thing will bite you one day... much better to rely on a module to remember that stuff for you.

    Gary Blackburn
    Trained Killer

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (5)
As of 2014-09-20 02:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (152 votes), past polls