Odometer Help

So i have the odometer of my EV Car, increment’s happily … and i would like to create a new variable that shows how many miles the car has done on that day ? is this possible and if so can someone point me in the direction of the sensor type please.