You did not share any of your code blocks Jeanine which makes it impossible to provide you with a specific recommendation. What you do depends on your existing code.
A very simple way to do reset the database daily is to allow the app user to clear the TinyDB using a Button. How it is cleared using blocks depends on your existing blocks; a simple way
to clear the entire TinyDB is to use call TinyDB1.ClearAll. A tag can be cleared using call TinyDB.ClearTag.
You could also use a Clock or a Timepicker; what you would do depends on exactly when you want the database to be cleared so the user can start counting CO2 with a fresh start.
Explain in more detail how this should work and provide some of your blocks and someone will provide specific advice.
Regards,
Steve