> > Hi Rob, > > When I set the date to 30-Jan-2009 and run the code given below, > > Eg : > > When dates are set as : > > my $days1 = epoch_days('30-Jan-09'); > my $days2 = epoch_days('29-Feb-2009'); > > I get the below error. > > hpcll402:/home/ssssraji/perl>./date2.pl > Day '30' out of range 1..28 at ./date2.pl line 35 >
Feb 2009 has 29 fays? Owen -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/