Time block conditional calculation