The present invention relates to a household appliance (1) comprising a control unit (4) that maintains to execute the selected program as much as possible within the discounted rate interval when the user enters the end time (tf) for the selected program, by evaluating the clock (2) data and the momentary energy tariff signal received from the sensing means (3) within the time passing until the end time (tf) and guarantees completion of the program to be executed before the selected end time (tf).