[Zope] DateTime under phyton script

Kerekes Lajos lkerekes@xperts.hu
Tue, 28 Aug 2001 12:01:04 +0200


Sorry. The error was at an other line. Arrrgh...
Thanks for help.

   Lajos

Dieter Maurer wrote:

> Kerekes Lajos writes:
>  > I have a form. It contains 3 drop-down boxes, named start_year:int,
>  > start_month:int, start_day:int.
>  > How can I use them, to make a datum object under phyton script?
>  > I try
>  >
>  > starttime = DateTime(container.REQUEST.start_year,
>  > container.REQUEST.start_month, container.REQUEST.start_day)
> This looks good! Should work....
>
>  > but it gives an error
>  >
>  > Error Type: TypeError
>  > Error Value: illegal argument type for built-in operation
> Look at the traceback to learn where the error has been found.
>
> Dieter
>
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )