That's not something that is currently supported - it's assumed that Teachers should be able add the attendance at any time. Only students doing self-marking of their own attendance can be restricted based on the session time.
Attendance (plugin)
Restrict the Teachers to mark attendance between time
This discussion has been locked so you can no longer reply to it.