How save/record/create new sensor with daily min/max temperature/timestamp for a particular sensor?

Basically, I want to have the ability to see what was daily min/max temperature with a timestamp for a particular sensor and keep that data for a year.

How do I do that?