Hints here. openHAB Item datetime are not the same as joda datetime, so you must do some kind of conversion to compare.