remove unused variable TimeDaySeconds

remove unused variable TimeDaySeconds