Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
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.

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
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 surveying the Monastery: (7)
As of 2016-08-30 08:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The best thing I ever won in a lottery was:















    Results (413 votes). Check out past polls.