[mod_python] How to format ssi dates ?

durumdara durumdara at gmail.com
Tue Nov 14 04:52:24 EST 2006

Hi !

Thanks for the SSI examples (to custom ErrorPages) !

I want to uniformize the local datetime.

<td>Idő:</td><td><!--#echo var="DATE_LOCAL" --></td>

("Idő" is "Time" in english)

The result in SSI:
Idő: Monday, 13-Nov-2006 14:34:54 Közép-európai téli idő
(Time: Monday, 13-Nov-2006 14:34:54 Central-European Winter Time)

This is mixed time string. The Monday, and the datetime format is 
english, another texts are hungarian.
How to force YYYY.MM.DD hh:mm:ss timestamp format in my SSI page ?

WXP, Py2.3.4, Apache 2.2.3.

Thanks for your help:

More information about the Mod_python mailing list