positive number check for visit hour