Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

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

by rpnoble419 (Pilgrim)
on Dec 07, 2012 at 01:09 UTC ( [id://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});

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (3)
As of 2024-04-24 19:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found