[Zope] formatting a date string

Thomas Weiner weiner@tu-harburg.de
Tue, 07 Mar 2000 12:44:42 +0100


Graham Chiu schrieb:
> 
> I'm still having difficulty with this.
> 
> I want to add a date to a character string ( dated user comments ) to
> store into a sqltable.
> 
> <dtml-call "REQUEST.set('CurrentDate', ZopeTime().Date)">

try:
<dtml-call "REQUEST.set('CurrentDate', ZopeTime().Date())">

and it should work.

hth,
Thomas