dateArithmetic function not defined?

I am using version 7.5.5 (b1255) and I am trying to use the following date arithmetic:

import datetime

print dateArithmetic(toDate(“2010-01-04 8:00:00”), 5, “hour”)

I also tried it without the import and both versions give me the following error: “name ‘dateArithmetic’ is not defined”, and this was copied directly from the manual. Is dateArithmetic no longer supported?

Sounds like you’re trying to use an expression function inside a jython script.

You should be able to do arithmetic in jython pretty easily: docs.python.org/2/library/datetime.html