Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^2: Date manipulations by inbuilt modules.

by valavanp (Curate)
on Aug 28, 2007 at 10:08 UTC ( #635552=note: print w/ replies, xml ) Need Help??


in reply to Re: Date manipulations by inbuilt modules.
in thread Date manipulations by inbuilt modules.

hi moritz,
thanks for your reply. If i want to use the Date::Calc module how should i do that. Thanks for your reply.


Comment on Re^2: Date manipulations by inbuilt modules.
Re^3: Date manipulations by inbuilt modules.
by andreas1234567 (Vicar) on Aug 28, 2007 at 11:02 UTC
    $ perl -l use strict; use warnings; use Date::Calc qw(Add_Delta_Days Today_and_Now); my ($year,$month,$day,$hour,$min,$sec) = Today_and_Now(); print join(q{-},$year,$month,$day); ($year,$month,$day) = Add_Delta_Days($year,$month,$day,60); print join(q{-},$year,$month,$day); __END__ 2007-8-28 2007-10-27
    --
    Andreas

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (5)
As of 2015-07-01 23:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (24 votes), past polls