Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
I am using statements
--------foreach my $sheet (@{$excel->{Worksheet}}) { $sheet->{MaxRow} ||= $sheet->{MinRow}; foreach my $row ($sheet->{MinRow} .. $sheet->{MaxRow}) { $sheet->{MaxCol} ||= $sheet->{MinCol}; foreach my $col ($sheet->{MinCol} .. $sheet->{MaxCol}-1) { my $cell = $sheet->{Cells}[$row][$col]; if (defined $cell) { print OUTFILE $cell->{Val};
I am getting trouble with dates (xlsx format is YYYYMMDD)
it is converting it into some integers.Please advise.
(for eg: it converted date 20091118 to 40135)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Spreadsheet::XLSX date problem
by moritz (Cardinal) on Jan 08, 2010 at 17:52 UTC | |
|
Re: Spreadsheet::XLSX date problem
by ww (Archbishop) on Jan 08, 2010 at 22:01 UTC | |
by Anonymous Monk on Jul 31, 2011 at 18:57 UTC |