There are several ways to go about it. You can use an online time tracker, like Toggl Track or Hello Bonsai, or keep your records with a simple Excel spreadsheet. Automated tools will be more reliable, however, as there's less room for human error.