How the Session work in System Setting

this is the system setting for the session

here its written after 6 hours, the session expires
but it don’t happen, else the automatic logout occurs everyday at night, 00:00
how this 6 hours thing works?
why not my system logout after 6 hours?