refactor: Replace chrono with time
The time and chrono libraries currently provide the same functionality, using time has an advantage over chrono in that it reduces the number of dependencies (in the end chrono also depends on time) as well as being slightly simpler in this use case.