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