The attendance will be taken when the student first joins the class. If the student leaves the class or rejoins after leaving, the attendance timestamp will still remain.