Create Visits.
The check in time will be automatically filled when the visitor check in to the office.
The check out time automatically filled when the visitor check out from office.