Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^2: Date manipulations by inbuilt modules.

by valavanp (Curate)
on Aug 28, 2007 at 10:08 UTC ( [id://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.

Replies are listed 'Best First'.
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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://635552]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (4)
As of 2024-04-25 09:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found