[Zope] Getting the Date from Zope

ethan mindlace fremen mindlace@digicool.com
Tue, 05 Sep 2000 16:01:54 -0400


Stuart Foster wrote:
> 
> I know I've seen many posts about this, I just can't find one.
> 
> I need to put the current date into an input's value when a form is loaded.
> Is there a way to do this with DTML.

<input type="text" name="now" value="<dtml-var ZopeTime fmt="fCommon">">

See DateTime.py or the Zope Quick Reference for more information on how
to manipulate the format.

-- 
ethan mindlace fremen
Zopatista Community Liason
Abnegate I!