<?xml version="1.0" encoding="windows-1252"?>
<node id="1007674" title="Re: Time duration using Excel::Writer::XLSX" created="2012-12-06 20:09:44" updated="2012-12-06 20:09:44">
<type id="11">
note</type>
<author id="693344">
rpnoble419</author>
<data>
<field name="doctext">
&lt;p&gt;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..&lt;/p&gt;

&lt;code&gt;
$worksheet1-&gt;write_string($row, $col++,$data-&gt;{$dataElement});
&lt;/code&gt;</field>
<field name="root_node">
1007428</field>
<field name="parent_node">
1007428</field>
</data>
</node>
