> I think you mean request.now.date() (request.date doesn't exist in my Right
> dbi('historia', > ... > Field('fecha', 'string') > ) That should be a 'date' field for web2py to handle date information properly. > date = str(datetime.datetime.now()) #NO error1, but doesn't update I cannot reproduce the error in my system (it performs update or insert with date only values, but I am using the "date" field type) A (poor yet somewhat simple to implement) workaround would be storing datetime objects instead of date but filtering just the y/m/d values (with computed fields) so comparisons would match with day precision.