Unfortunately DateTime(year,month,day) != DateTime("%d-%d-%d" % (year,month,day)) The former uses the local timezone (which I think is right) while the latter uses GMT+0 (which seems not right). Thinks are quite bad, as the latter is used to convert ":date" form values into DateTime objects. Dieter