Re: Problem in Date::Manip.pm
On Sat, Aug 27, 2005 at 03:40:48PM +0530, saravanakarthik m wrote:
>when i was using the perl Date::Manip.pm ,i called
>$outdate=&UnixDate($indate,"%Y/%m/%d");
>for the following indates
>00050101
>00050102
>...
>the following error occur
>ERROR: Invalid year (4)
> Date::Manip::Date_FixYear(4) called at Date/Manip.pm line 3176
> Date::Manip::Date_WeekOfYear(12, 25, 4, 1) called at
>Date/Manip.pm line 1738
> Date::Manip::UnixDate(00050101, '%Y/%m/%d') called at 1.pl line 17
>
>how can i solve this problem.
Perhaps you should start by defining what it is that you're trying to
achieve.
What is $indate supposed to be? Did you expect the output to be
2005/01/01? 0005/01/01? Something else?
--bod
Reply to: