Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

Re: Time duration using Excel::Writer::XLSX

by rpnoble419 (Pilgrim)
on Dec 07, 2012 at 01:09 UTC ( #1007674=note: print w/ replies, xml ) Need Help??

in reply to Time duration using Excel::Writer::XLSX

I create reports using this module all the time. I create a text format for the date and time if you are not going to use it in a formula. This forces excel to display as I want the date and time not as Excel wants when the use has set the local date and time format on their computer. The code below is from my database while loop..

$worksheet1->write_string($row, $col++,$data->{$dataElement});

Comment on Re: Time duration using Excel::Writer::XLSX
Download Code

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1007674]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (5)
As of 2015-10-04 22:03 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (105 votes), past polls