my $sysdate = strftime('%Y-%m-%d', localtime );
biDeriveByDate('Table_Str',$sysdate,\@lIndx,\@lResVals)
In a perl script, when I'm trying to pass $sysdate to some external function it's not working since $sysdate is passed as a string mentioned above but my function is expecting a date value and the function is returning no value. So is there any method to convert the $sysdate to Date, so that my function returns a value. Function is expecting date in the format 'dd-mm-yyyy'.
Any help would be highly appreciated.