I am wanting to create a VB frontend for an access database that will record the Time of a login (Record Creation) the time of a logout(closing of record) and then have a field that tells me how much time was spent between the two. The Problem is that I cannot seem to figure out how to do this.

This is a login program for my schools Math Tutoring center. We are getting statistics of who is coming in and for how long. I am not making this that highly developed but would like to when I learn more. Right now I just want to figure out how to do this time thing.

the fields I have in a record are
Student First Name
Student Last Name
Student SSN (optional)
Time Entered
Time left
Total Time Stayed
then have a bunch of checkboxes for the classes they are getting help with

Please Help

Ben