<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div class="h5"><br>
</div></div>If you strftime to show the hour and minute too, you will see as I<br>
previously said it is showing you the time in UTC (as determined by how<br>
many hours is it out).<br>
<div><div></div><div class="h5"><br></div></div></blockquote><div><br>I made a test  with date 2009/05/07 using <br>&lt;dtml-var &quot;fecha.timezone&quot; &gt; -- dmYzZ=&lt;dtml-var fecha fmt=&quot;%d/%m/%Y %z %Z&quot;&gt; -- c=&lt;dtml-var fecha fmt=&quot;%c&quot;&gt; -- x&lt;dtml-var fecha fmt=&quot;%x&quot;&gt; -- X&lt;dtml-var fecha fmt=&quot;%X&quot;&gt;<br>
<br>and show this<br></div></div>&lt;bound )=&quot;&quot; 07=&quot;&quot; 05=&quot;&quot; 2009=&quot;&quot; datetime(=&quot;&quot; of=&quot;&quot; datetime.timezone=&quot;&quot; method=&quot;&quot;&gt; -- dmYzZ=06/05/2009   -- c=05/06/09 19:00:00 -- x05/06/09 -- X19:00:00&lt;/bound&gt;<br>
<br>here I  see what you said me, the hour is gmt-0500. <br><br><br>If add in zope.conf <br>
    &lt;environment&gt;<br>
      TZ America/Mexico_City<br>
    &lt;/environment&gt;<br>
<br>
or in runzope.bat<br>
@set TZ=America/Mexico_City<br>
<br>
nothing change, render the same what before add TZ<br>
<br>now, how I can show the correct date? help please<br>I use MS Sql Server 2000 with field smalldatetime<br>I never used before timezone.<br>