auto end day on time elapsed