perl problem with Spreadsheet::XLSX::Utility2007
there is a problem with ExcelFmt() subroutine. when I try this:
Code:
print ExcelFmt('hh:mm', $time), "\n"; Code:
Use of uninitialized value $dObj in int at /usr/share/perl5/Spreadsheet/XLSX/Utility2007.pm line 775. thanks. |
this has been solved. problem was that 12:00 AM is stored in excel cell as 0. (excel seems to store time as percentage of day). but for some reason, perl module returned that value as NULL. so I used:
Code:
my $time = 0; |
All times are GMT -5. The time now is 08:43 PM. |