How do I make a pedometer that resets itself ever different day?

identify the day and store it in a variable or TinyDB
and if you find out, that the day changed, then reset your counter
you can find methods to work with date and time in the clock component
https://ai2.appinventor.mit.edu/reference/components/sensors.html#Clock

Taifun