Python timedelta() error

It means sessDateEnd is a string (unicode is a flavor of string), not java.util.Date. Probably getting that from a bound date entry component.

FWIW, you should avoid jython’s datetime. There be dragons. Use java’s Date and Calendar and related classes instead.