Trying to sort my daily mileage

I am trying to sort the daily mileage of my car. But only for certain times of the day (working hrs) I have the energy meter used to calculate my daily mileage and this works great. But how could I create a card that will display my daily work mileage, which would just be a snapshot of my daily mileage entity at 18:00 each day?