Laundry treating machine comprising: - an outer casing, - a rotatable drum, which is arranged in axially rotating manner inside the outer casing and is structured to receive the laundry to be treated, - a laundry treating course select unit provided for an operator to select a laundry treating course to be performed; said laundry treating course having a nominal total course duration (tn), and comprising a plurality of laundry treating phases/steps, each having a nominal duration (tc(i), tp(i)), - a time input unit provided for an operator to input an end-time value (tu), which is indicative of a time at which, or in which, the laundry treating course has to be ended, - a start input unit provided for an operator to input a course start command, the laundry treating machine comprising a controller configured to: - automatically start performing a selected laundry treating course based on a inputted course start command and an inputted end-time value (tu), said laundry treating machine being characterized in that said controller is configured to: - during the execution of said laundry treating course, determine a treating phase/step time information which is related to actual duration (ta(i)) of at least one monitored laundry treating phase/step (i), - vary, with respect to its nominal value (tc(i+1), tp(i+1)), the duration of one or more laundry treating phases/steps (i+1) to be performed following said at least one monitored laundry treating phase/step (i), based on said determined treating phases/steps time information, in such a way to cause said laundry treating course to end at/in said end-time value (tu) set by operator. - an outer casing, - a rotatable drum, which is arranged in axially rotating manner inside the outer casing and is structured to receive the laundry to be treated, - a laundry treating course select unit provided for an operator to select a laundry treating course to be performed; said laundry treating course having a nominal total course duration (tn), and comprising a plurality of laundry treating phases/steps, each having a nominal duration (tc(i), tp(i)), - a time input unit provided for an operator to input an end-time value (tu), which is indicative of a time at which, or in which, the laundry treating course has to be ended, - a start input unit provided for an operator to input a course start command, the laundry treating machine comprising a controller configured to: - automatically start performing a selected laundry treating course based on a inputted course start command and an inputted end-time value (tu), - automatically start performing a selected laundry treating course based on a inputted course start command and an inputted end-time value (tu), - during the execution of said laundry treating course, determine a treating phase/step time information which is related to actual duration (ta(i)) of at least one monitored laundry treating phase/step (i), - vary, with respect to its nominal value (tc(i+1), tp(i+1)), the duration of one or more laundry treating phases/steps (i+1) to be performed following said at least one monitored laundry treating phase/step (i), based on said determined treating phases/steps time information, in such a way to cause said laundry treating course to end at/in said end-time value (tu) set by operator.