A simple day and night tariff was introduced at some point in the 1980s in the UK.
Most places I lived had this set up.
(Nowadays smart meters offer many more options.)