sabersd has asked for the wisdom of the Perl Monks concerning the following question:
It seems that Spreadsheet::ParseExcel isn't working properly with dates, the Excel spreadsheet has 10/01/2006, but when parsed by perl it becomes 38991. But if the dates where entered in as Oct 1 2006, this works fine. I have tried formattting excel, but I get the same results. I am using
my $eff_date = uc(trim($ws->{Cells}[$row][2]->{Val}));
to get the values from excel, I have also tried {_Value}, but only get the 2 digit year, which will not work.
any help is great, thx
Code tags added by GrandFather
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Spreadsheet::ParseExcel and Dates
by explorer (Chaplain) on Oct 10, 2006 at 00:02 UTC | |
|
Re: Spreadsheet::ParseExcel and Dates
by djp (Hermit) on Oct 10, 2006 at 08:02 UTC | |
by Anonymous Monk on Apr 22, 2019 at 21:07 UTC | |
|
Re: Spreadsheet::ParseExcel and Dates
by bobf (Monsignor) on Oct 10, 2006 at 04:21 UTC | |
by jmcnamara (Monsignor) on Oct 10, 2006 at 09:21 UTC | |
|
Re: Problems with Spreedsheet::ParseExcel
by runrig (Abbot) on Oct 09, 2006 at 23:59 UTC |