Time calculate and output judgement.