Ask a Question related to PERL Modules, Design and Development.
-
Hans Kohls #1
Excel Data conversion
Hello,
I have to convert the (afaik) Excel (internal) date format into a
different format.
I am wondering if there is a package around to do so. The excel Format
is something like 3NNNN and represents the number of days since 1.1.1900.
Cheers, Hans
Hans Kohls Guest
-
Arraycollection conversion to chart data
I'm trying to get ArrayCollection mapped to an array using the Blazeds turnkey sample code. In the sqladmin example, they are creating a List... -
HELP!!! Excel links/styles are not being maintained in ID CS Pagemaker Conversion!
I do 100+ page price lists. Pricing is extracted from the company's internal database into several hundred Excel spreadsheets via VLOOKUP. I then... -
MS Excel Chart Conversion problem
I have used "Paste Special" then Paste as a Picture (Metafile) to insert Excel charts into a number of MS Word documents. PDF files are being created... -
excel conversion
I once used a tidy little class by alain simous to read cells off of .xls sheets, but apparently the com extension is not supported in recent... -
Data conversion from old system
I have been given a very old database written in Delta for DOS to re-create as a new Filemaker Pro system. The Delta system does not appear to... -
Bill Karwin #2
Re: Excel Data conversion
Hans Kohls wrote:
DateTime::Format::Excel is a module intended to do this conversion.> I have to convert the (afaik) Excel (internal) date format into a
> different format.
> I am wondering if there is a package around to do so. The excel Format
> is something like 3NNNN and represents the number of days since 1.1.1900.
[url]http://search.cpan.org/dist/DateTime-Format-Excel/lib/DateTime/Format/Excel.pm[/url]
Regards,
Bill K.
Bill Karwin Guest
-
Joe Smith #3
Re: Excel Data conversion
Hans Kohls wrote:
linux% perl -e 'use Date::Calc qw(Add_Delta_Days); \> Hello,
>
> I have to convert the (afaik) Excel (internal) date format into a
> different format.
> I am wondering if there is a package around to do so. The excel Format
> is something like 3NNNN and represents the number of days since 1.1.1900.
printf "%4d/%02d/%02d\n",Add_Delta_Days(1900,1,1,31245)'
1985/07/19
-Joe
Joe Smith Guest
-
John McNamara #4
Re: Excel Data conversion
On Tue, 27 Jul 2004 18:03:28 GMT, Joe Smith wrote:
>> Hans Kohls wrote:
>>
>> I have to convert the (afaik) Excel (internal) date format into a
>> different format.
>> I am wondering if there is a package around to do so. The excel Format
>> is something like 3NNNN and represents the number of days since 1.1.1900.That is out by 2 days because:> linux% perl -e 'use Date::Calc qw(Add_Delta_Days); \
> printf "%4d/%02d/%02d\n",Add_Delta_Days(1900,1,1,31245)'
> 1985/07/19
1. the epoch is actually 0 January 1900!
2. 1900 is treated as a leapyear by Excel!!
Mind-boggling stuff is it not.
The following gives the right dates from 1 March 1900 onwards:
... Add_Delta_Days(1899, 12, 30, $excel_date);
John.
--
perl -MCPAN -e 'install jmcnamara & _ x ord $ ;' | tail -1
John McNamara Guest



Reply With Quote

