Not all timers use the line frequency (50 or 60 Hz) as the time base. Timers that do would be analog type with clock motors or cheap digital clocks. If the timer has a microprocessor in it, then the micro probably has a crystal for a time base. This means that the timer will work without regard to the input voltage frequency.