Hi i am new to perl.
i just got an error when i exceuted the perl script which is as folows:
Day '' out of range 1...31 in C:\..... in line 87
and the code around line 87 is:
sub get_unix_timestamp {
my ($date,$time) = @_;
my $mday = substr($date,0,2);
my $mon = substr($date,3,2);
my $year = substr($date,6,4);
my $hours = substr($time,0,2);
my $min = substr($time,3,2);
my $sec = substr($time,6,2);
my $time_stamp = timegm ($sec, $min, $hours, $mday, $mon, $year);
return $time_stamp;
}