[Zope] Re: date-format please help!

Alexandre Ratti alex@gabuzomeu.net
Mon, 29 Nov 1999 23:28:57 +0100


Hi Martin,


I think you tried to format your date with C-style formatting codes such as 
%a, %d, etc. It may be related (I'm not sure): these codes are GMT-based so 
the result may be off by several hours if your system time is not GMT.

For more info about date formats, see the following doc:
<http://www.zope.org/Members/AlexR/CustomDateFormats/>. You could try to 
use the alternate syntax described at the end of this document and see if 
you get the same results.

HTH.

Alexandre


At 12:00 29/11/1999 -0800, you wrote:
>Mon, 29 Nov 1999 15:27:21 +0100 (CET) From: Martin Hofer To: zope@zope.org 
>Subject: [Zope] date-format please help! printing a date (choosen from a 
>oracle-database) with causes zope to type 1999/11/28. but trying to format 
>this field with results in the following output: 27.11.1999!!!! but this 
>is _really_ not the same day!! :-( why??? lg martin hofer 
>------------------------------------------ o EDV-Referent an der HTU-GRAZ 
>o ------------------------------------------ Rechbauerstrasse 12 4010 Graz 
>- Austria mail: hofer@oeh.tu-graz.ac.at tel: +43/0316 873-5109 | _|_ fax: 
>+43/0316 873-5115 |__ | mobil: +43/0699-1016 1847 | | | | | internet: 
>oeh.tu-graz.ac.at | | | |__|