[Zope] property:date

Max Møller Rasmussen maxm@normik.dk
Wed, 15 Aug 2001 09:56:23 +0200


In my experience users tend to like seperate input fields like:

Day: <input type=="text" name="day"> /
Month: <input type=="text" name="month"> /
Year: <input type=="text" name="year">

Then you can assemble it again in the "action" script like:

<dtml-call "REQUEST.set('dateString', day+month+year)">
<dtml-call "REQUEST.set('date', DateTime(dateString))">

regards Max M

> From: Giuseppe Bonelli [mailto:g.bonelli@pn.itnet.it]

> I want to use a date property to store a user entered date 
> into a ZClass property; the date must be entered in 
> "%d/%m/%&y" format (I am from Europe (-;)).