Google "Legal time hours tracking".
There are many such applications available but more information is needed with respect to your working environment and requirements.
For example: https

/www.leap.us/features/legal-time-tracking/
I.e., what OS you are using, number of employees (licensing requirements), how results and totals may be reported, what is your budget, security requirements, backup requirements, import/export requirements (data from spreadsheets or databases).
Start with a list of what functions and features software must have and also a list of what additional functions and features that would be nice to have. The lists will help you evaluate and compare candidate products.
Search for applications that seem to fit your requirements. Download free trials and test. Or request an evaluation copy from the manufacturer.