Try:
<dtml-var "DateTime('12/11/2005').strftime('%Y/%m/%d')">

2005/10/17, Fernando Lujan <[EMAIL PROTECTED]>:
> Is it possible to informe the DateTime module about the date format
> without changing the zope.conf file?
>
> Format: dd/mm/yyyy
>
> When I try the <dtml-var "DateTime(12/11/2005)"> it returns 2005/12/11
> instead of 2005/11/12.
>
> Thanks in Advance.
>
> Fernando Lujan
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://mail.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://mail.zope.org/mailman/listinfo/zope-announce
>  http://mail.zope.org/mailman/listinfo/zope-dev )
>


--
Peter Bengtsson,
work www.fry-it.com
home www.peterbe.com
hobby www.issuetrackerproduct.com
_______________________________________________
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to