<div>I am having difficulties with time zones and rendering proper times/dates. My time zone is GMT-6 (CST)... mysql reports the proper time/date, running &lt;dtml-var expr=&quot;e.strftime(&#39;%c&#39;)&quot;&gt; shows Zope has the right date, running a query straight from the SQLMethod shows the proper time in relation to the field in mysql. However, when I try and run the variable in the dtml document it gives the time in GMT+0.</div>


<div> </div>
<div>For example... in mysql I have &quot;2009-12-23 10:41:06&quot; as the date of the record. Running the SQL Method returns it as &#39;2009/12/23 10:41:06 GMT+0&#39; -- So far so good but when I run &lt;dtml-var comment_date fmt=&quot;%m-%d-%y %H:%M&quot;&gt; in my document it gives: 12-23-09 04:41. </div>


<div> </div>
<div>I can get fmt=ISO (and other similar time functions) working and showing the proper date/time but I&#39;d rather have a little more control over how the time is displayed. Is there any suggestions on what to do? I&#39;ve looked many places and couldn&#39;t find the answer.</div>


<div> </div>
<div>I am running Zope 2.11.4-final, python 2.4.4, win32</div>
<div> </div>
<div>Regards,</div>
<div>-J</div>