REQUEST = container.REQUEST

patrix pheer at chello.nl
Fri May 9 04:54:51 EDT 2003


If i inport a var from a dtml form to python the var coms with ' ' 

THE peace of code  

REQUEST = container.REQUEST
Bdag = REQUEST['Bdag']

REQUEST = container.REQUEST
Bmaand = REQUEST['Bmaand']

REQUEST = container.REQUEST
Bjaar = REQUEST['Bjaar']

bdate = DateTime(Bjaar,Bmaand,Bdag,0,0,0)

THE error

Error Type: DateTimeError
Error Value: Invalid date: ('2002', '1', '1', 0, 0, 0)

so how i get the ' ' of the var 

thx PaTriX

pheer at chello.nl




More information about the Python-list mailing list