Control PWM motor running time with millis

Where do you set pump_tim_cur_millis?