I get an error message for the third "timelocal" command in the short program 
shown below. The module does not seem to see August 31st as a true date:

#!c:/strawberry/perl/bin/Perl.exe
use strict;
use warnings;
use Time::Local;

#time and date:  19:40:00, August 30, 2010.
my $DATE = timelocal(0,40,19,30,8,2010);
print "$DATE\n";

#time and date:  19:40:00, September 1, 2010.
my $DATE1 = timelocal(0,40,19,1,9,2010);
print "$DATE1\n";

#time and date:  19:40:00, August 31, 2010.
my $DATE2 = timelocal(0,40,19,31,8,2010);
print "$DATE2\n";

__END__

Any help you can provide would be appreciated.

I contacted Dave Rolsky and he directed me to you.

>From the module:

This module is based on a Perl 4 library, timelocal.pl, that was included with 
Perl 4.036, and was most likely written by Tom Christiansen.

The current version was written by Graham Barr.

It is now being maintained separately from the Perl core by Dave Rolsky, 
<auta...@urth.org>.

Best Regards,

Mark Albert



      

Reply via email to