in reply to Re: Error while using "timelocal ()" function.
in thread Error while using "timelocal ()" function.
I am getting the same error(Day '' out of range 1..31 script.pl at line2 ), but finding to hard to find the solution?
Code snippet:
Thanks.use Time::Local; my $time = timegm( $sec, $min, $hours, $mday, $mon, $year );
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Error while using "timelocal ()" function.
by Corion (Patriarch) on Aug 25, 2021 at 08:11 UTC |