Beefy Boxes and Bandwidth Generously Provided by pair Networks Frank
There's more than one way to do things
 
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 chanting in the Monastery: (8)
As of 2014-04-21 15:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (495 votes), past polls