Track entry and exit to the location of your choice with google sheets. It will add new entry to entry/exit. You could use this to track entry and exit time to office or any other location
Explore more great ways to automate Google Sheets and Location