Hi All Perl Gurus,
I am a AIX/Linux Admin, I am writing a shell script where i m
using the following line ...
NDay=21;NMonth=06;NYear=12;NSec=15;NMin=30;NHour=12
perl -e ' use Time::Local; print scalar timelocal( $NSec, $NMin, $NHour, $NDay, $NMonth, $NYear)'
But it giving me error as below ....
Day '' out of range 1..31 at -e line 1
Any help will be very help full ... how to cope with this problem ...
I am a AIX/Linux Admin, I am writing a shell script where i m
using the following line ...
NDay=21;NMonth=06;NYear=12;NSec=15;NMin=30;NHour=12
perl -e ' use Time::Local; print scalar timelocal( $NSec, $NMin, $NHour, $NDay, $NMonth, $NYear)'
But it giving me error as below ....
Day '' out of range 1..31 at -e line 1
Any help will be very help full ... how to cope with this problem ...